This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [openssh] unnatended instalation + forcing service account
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/