From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4796 invoked by alias); 21 Feb 2014 20:58:13 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 4786 invoked by uid 89); 21 Feb 2014 20:58:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.0 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,SCAM_SUBJECT autolearn=no version=3.3.2 X-HELO: vms173023pub.verizon.net Received: from vms173023pub.verizon.net (HELO vms173023pub.verizon.net) (206.46.173.23) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 21 Feb 2014 20:58:12 +0000 Received: from [192.168.1.231] ([unknown] [74.104.179.122]) by vms173023.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0N1D00A8068P3R70@vms173023.mailsrvcs.net> for cygwin@cygwin.com; Fri, 21 Feb 2014 14:58:06 -0600 (CST) Message-id: <5307BDDA.4040309@cygwin.com> Date: Sat, 22 Feb 2014 12:23:00 -0000 From: "Larry Hall (Cygwin)" Reply-to: cygwin@cygwin.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-version: 1.0 To: cygwin@cygwin.com Subject: Re: Silently configure sshd fails via system account References: <5307BB89.80405@cse.yorku.ca> In-reply-to: <5307BB89.80405@cse.yorku.ca> Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit X-SW-Source: 2014-02/txt/msg00595.txt.bz2 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