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]

Output from mkpasswd/mkgroup ... Again confused (2)


Hi Corinna,

For comparison: output of 'mkpasswd -l' with and without /etc/nsswitch.conf present. Without it, my machine
is NOT a 'foreign machine'. When it is present, my machine is a 'foreign machine'. Strikes me as ...

Until now, I believed that the output of mkpasswd/mkgroup had no dependency on /etc/nsswitch.conf.

Henri

@@ uname -a
CYGWIN_NT-6.1-WOW64 Seven 1.7.34(0.281/5/3) 2014-11-13 16:14 i686 Cygwin

@@ mkpasswd | grep Henri
Henri:*:197608:197121:U-Seven\Henri,S-1-5-21-91509220-1575020443-2714799223-1000:/home/Henri:/bin/bash
@@ mkpasswd -l | grep Henri
Henri:unused:4244636648:4244636161:U-Seven\Henri,S-1-5-21-91509220-1575020443-2714799223-1000:/home/Henri:/bin/bash
@@ mkpasswd -l Seven | grep Henri
Henri:unused:4244636648:4244636161:U-Seven\Henri,S-1-5-21-91509220-1575020443-2714799223-1000:/home/Henri:/bin/bash

@@ cat /etc/nsswitch.conf
passwd: files
group: files
db_enum: files

After moving /etc/nsswitch.conf aside ...

@@ mkpasswd | grep Henri
Henri:*:197608:197121:U-Seven\Henri,S-1-5-21-91509220-1575020443-2714799223-1000:/home/Henri:/bin/bash
@@ mkpasswd -l | grep Henri
Henri:*:197608:197121:U-Seven\Henri,S-1-5-21-91509220-1575020443-2714799223-1000:/home/Henri:/bin/bash
@@ mkpasswd -l Seven | grep Henri
Henri:*:197608:197121:U-Seven\Henri,S-1-5-21-91509220-1575020443-2714799223-1000:/home/Henri:/bin/bash

@@ cat /etc/nsswitch.conf
cat: /etc/nsswitch.conf: No such file or directory

=====


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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