From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 11638 invoked from network); 24 May 1999 21:18:53 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 24 May 1999 21:18:53 -0000 Received: from enterprise.america.com (root@enterprise.america.com [205.245.33.3]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id QAA19221 for ; Mon, 24 May 1999 16:37:34 -0400 Received: from localhost by enterprise.america.com via sendmail with smtp id for ; Mon, 24 May 1999 16:37:32 -0400 (EDT) (Smail-3.2.0.94 1997-Apr-22 #2 built 1997-May-2) Date: Mon, 24 May 1999 16:37:32 -0400 (EDT) From: Speedracer X-Sender: spdracer@enterprise To: "'axp-list@redhat.com'" Subject: RE: Enable another user In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Editing the passwd and group files by hand (Especially in a shadowed environemnt with lots of users) is probably not a good idea. If you do this you should always make a back up of both files before writing. I can tell horror stories about such mistakes. If you still want to edit the files by hand use vipw and vigr to edit. This ensures the proper locking and helps prevent bad things from happening. I would use the useradd script. This performs well and will prevent catastrophic mistakes. You can change the script as you see fit for your uses. On Mon, 24 May 1999, Marek Dohojda wrote: > edit the /etc/passwd and /etc/group file :) it works > > or you can just use useradd script to do the same thing. (personally I > like editing by hand) > > -----Original Message----- > From: Dan O'Reilly [mailto:dano@process.com] > Sent: Monday, May 24, 1999 11:22 AM > To: axp-list@redhat.com > Subject: Enable another user > > > This may be an elementary question, but I've not really used UNIX for a > couple of years, and what I did there, doesn't work on RH6.0 on an > Alpha. > > So, to ask the question: how do I enable another user on my RH 6.0 > system? > My old way was to edit the /etc/passwd and /etc/group files, but that > doesn't seem to work here. > > Signed, > A Lost & Lonely VMS Hacker... > > ------ > +-------------------------------+--------------------------------------- > + > | Dan O'Reilly | "Outside a dog, a book is man's best > | > | Principal Engineer | friend. Inside a dog, it's too > | > | Process Software Corporation | dark to read." > | > | http://www.process.com | -- Groucho Marx > | > +-------------------------------+--------------------------------------- > + > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com > > \--------------------------------------------------------------------------/ \ Aaron Gee AKA Spdracer / \"Maseratis are more than cars, they are a passion that is understood / \by some, but enjoyed by a very few" / \URL---> http://www.italian-cars.com / \e-mail--> spdracer@america.com Fax-->1 (904) 253 1006 / \--------------------------------------------------------------/ \ | / \_|_/ (---) 0