Message-Id: <200111210002.fAL02Q413718@delorie.com> Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com> List-Archive: <http://sources.redhat.com/ml/cygwin/> List-Post: <mailto:cygwin AT sources DOT redhat DOT com> List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Lotus-Fromdomain: LEXMARK AT LEXMTA From: dhay AT lexmark DOT com To: cygwin AT cygwin DOT com Date: Tue, 20 Nov 2001 16:50:24 -0500 Subject: Re: Adding new user 'nobody' - PLEASE help! Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline 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 AT cygwin DOT com cc: dhay AT lexmark DOT 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/