This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Output from mkpasswd/mkgroup ... Again confused (2)
- From: "Houder" <houder at xs4all dot nl>
- To: cygwin at cygwin dot com
- Date: Thu, 27 Nov 2014 17:12:15 +0100
- Subject: Output from mkpasswd/mkgroup ... Again confused (2)
- Authentication-results: sourceware.org; auth=none
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