This is the mail archive of the cygwin@cygwin.com 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]

Re: Adding new user 'nobody' - PLEASE help!




Hi everyone,

Following on from this note, I am a bit confused my mkpasswd.  On my unix
system, it will generate a password for a user, but under cygwin it appears that
it just prints out the /etc/passwd file to stdout!  Is there another tool that
will add a user to the file, or am I missing something here?!

Any enlightening would be appreciated.  Here's what I get when I do help on
mkpasswd:

bash-2.05a$ mkpasswd --help
Usage: mkpasswd [OPTION]... [domain]

This program prints a /etc/passwd file to stdout

Options:
   -l,--local              print local user accounts
   -d,--domain             print domain accounts (from current domain
                           if no domain specified)
   -o,--id-offset offset   change the default offset (10000) added to uids
                           in domain accounts.
   -g,--local-groups       print local group information too
                           if no domain specified
   -m,--no-mount           don't use mount points for home dir
   -s,--no-sids            don't print SIDs in GCOS field
                           (this affects ntsec)
   -p,--path-to-home path  if user account has no home dir, use
                           path instead of /home/
   -?,--help               displays this message

One of `-l', `-d' or `-g' must be given on NT/W2K.

Many thanks,

Dave




---------------------- Forwarded by David Hay/Lex/Lexmark on 11/20/2001 04:52 PM
---------------------------


David Hay
11/20/2001 04:22 PM

To:   cygwin@cygwin.com
cc:   dhay@lexmark.com
Subject:  Adding new user 'nobody' - PLEASE help!

Hi everyone.  I have installed cygwin on NT, and am at the end of my rope trying
to add a new user called nobody!

I have added CYGWIN=ntsec, and have created a user under NT of nobody, in group
Users.  I believe I have to add a line to the /etc/passwd file, but have tried
everything I can think of, and I still get the message  chown: `nobody': invalid
user.  I can, however, chown using one of the existing users in /etc/passwd no
problem.  By the way, how did they get there?!

Would *really* appreciate some help here, as I have gone as far as I can!

Many thanks,

Dave

PS  Please cc me into the reply!




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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