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
signature.asc
Description: PGP signature