This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with ssh-host-config?

On Mar 11 14:01, Achim Gratz wrote:
> Nick.Battle <at> <Nick.Battle <at>> 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.


> > 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 Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: signature.asc
Description: PGP signature

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]