X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 16 Apr 2009 18:52:10 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [openssh] unnatended instalation + forcing service account Message-ID: <20090416165210.GD8722@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20090415083139 DOT GI15443 AT calimero DOT vinschen DOT de> <49E5E865 DOT 1030005 AT cwilson DOT fastmail DOT fm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-02-20) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Apr 16 17:13, Julio Costa wrote: > On Wed, Apr 15, 2009 at 16:38, Julio Costa wrote: > > > > I'm a bit in the busy side right now, but you can count with that > > patch until tomorrow, at most. > > > > Here it is (in attachment). > > ~ $ cygcheck -c openssh > Cygwin Package Information > Package Version Status > openssh 5.2p1-1 OK > > ~ $ diff -u /usr/bin/ssh-host-config /usr/local/bin/ssh-host-config > >ssh-host-config.diff > > It implements the use of the -f option of csih, when --yes or --no > options are used in ssh-host-config. > AND adds a -u | --user option to nominate the service account in an > explicit way (with the -u option of csih). > > I've done some minimal tests and it seems ok. [ "${opt_force}" = "yes" ] && opt_f=-f [ -n "${user_account}" ] && opt_u="-u ""${user_account}""" csih_select_privileged_username ${opt_f} ${opt_u} Shouldn't the last line read csih_select_privileged_username ${opt_f} ${opt_u} sshd ? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/