Output from mkpasswd/mkgroup ... Again confused (2)
Houder
houder@xs4all.nl
Thu Nov 27 16:47:00 GMT 2014
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
More information about the Cygwin
mailing list