Problem with ssh-host-config?
Corinna Vinschen
corinna-cygwin@cygwin.com
Fri Mar 11 15:41:00 GMT 2016
On Mar 11 14:01, Achim Gratz wrote:
> Nick.Battle <at> uk.fujitsu.com <Nick.Battle <at> uk.fujitsu.com> writes:
> > Changing ${username} to ${csih_PRIVILEGED_USERNAME} seems to fix the
> problem and everything works as expected.
>
> >From a quick glance I'd say this is correct.
ACK.
> > So I have the result I want, but I'm not sure that the fix above is
> correct. Isn't it normal to use
> > ssh-host-config to create the user in Windows and /etc/passwd? In which
> case why isn't everyone getting
> > this problem? Or am I using the script the wrong way?
>
> On a fresh installation you don't have /etc/passwd anymore, so the script
> never branches there.
In theory this should only happen if you *only* use passwd in
/etc/nsswitch.conf. If you use default settings (passwd db), this
branch should not be hit either.
So I wonder how your /etc/nsswitch.conf looks like. Are you using
passwd: passwd
group: passwd
?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20160311/82f1ff2b/attachment.sig>
More information about the Cygwin
mailing list