Output from mkpasswd/mkgroup ... Again confused

Houder houder@xs4all.nl
Thu Nov 27 16:41:00 GMT 2014

Hi Corinna,

On my stand-alone machine (using the test release), the output from 'mkpasswd' is NOW different from the one
from 'mkpasswd -l' ... They used to be the same ...

Earlier on the output of 'mkpasswd -l' was different from the one from 'mkpasswd -l <machine>'; not anymore ...

I cannot tell anymore (from what I have read on the mailing list) what to expect ...

Should 'mkpasswd -l' show an output that is different from the one that 'mkpasswd' shows ?????


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

@@ mkpasswd | grep Henri
@@ mkpasswd -l | grep Henri
@@ mkpasswd -l Seven | grep Henri

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

@@ mkpasswd --help
Usage: mkpasswd [OPTIONS]...

Write /etc/passwd-like output to stdout

Don't use this command to generate a local /etc/passwd file, unless you
really need one.  See the Cygwin User's Guide for more information.


   -l,--local [machine]    Print local user accounts of "machine",
                           from local machine if no machine specified.
                           Automatically adding machine prefix for local
                           machine depends on settings in /etc/nsswitch.conf.

Default is to print local accounts on stand-alone machines, domain accounts
on domain controllers and domain member machines.


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