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 ?????

Henri

@@ 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
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

@@ 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.

Options:

   -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