This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Silently configure sshd fails via system account
- From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 21 Feb 2014 15:58:02 -0500
- Subject: Re: Silently configure sshd fails via system account
- Authentication-results: sourceware.org; auth=none
- References: <5307BB89 dot 80405 at cse dot yorku dot ca>
- Reply-to: cygwin at cygwin dot com
On 2/21/2014 3:48 PM, Paul Griffith wrote:
Hi,
I am using a software package called WPKG (wpkg.org) to silently deploy
Cygwin and then configure SSHD. The Cygwin installation works like a
charm. Configuring sshd is another story. If I run my script from a admin
command prompt, I am to setup sshd. If I run that same script from WPKG,
it fails. The only difference is that the WPKG agent runs as the SYSTEM
user. I assume SCCM (Microsoft System Center Configuration Manager) users
would have the same issue since their agent also run as SYSTEM.
Any ideas other than pulling apart /usr/bin/ssh-host-config and trying
to do this manually myself ??
Configuring sshd can be tricky. There are plenty of failure paths so it's
best not to step off known paths to success unless you're willing to blaze
a new successful trail. With that in mind, why not run WPKG under an
account that is known to successfully install Cygwin in the normal way?
This may be close enough to a known successful path to just work.
--
Larry
_____________________________________________________________________
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple