delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/16/12:52:39

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 <corinna-cygwin AT cygwin DOT com>
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: <af075b00904141055w9b6eba0t6e9f79190a3f9ad6 AT mail DOT gmail DOT com> <20090415083139 DOT GI15443 AT calimero DOT vinschen DOT de> <af075b00904150330r5d4de0fdj4c2edd05d26f32b5 AT mail DOT gmail DOT com> <49E5E865 DOT 1030005 AT cwilson DOT fastmail DOT fm> <af075b00904150838i9f2bd26o1e12ab26636defe6 AT mail DOT gmail DOT com> <af075b00904160913oee9f31cn5e406fea22d45a49 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <af075b00904160913oee9f31cn5e406fea22d45a49@mail.gmail.com>
User-Agent: Mutt/1.5.19 (2009-02-20)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019