Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Speedracer <spdracer@america.com>
To: "'axp-list@redhat.com'" <axp-list@redhat.com>
Subject: RE: Enable another user
Date: Mon, 24 May 1999 16:37:32 -0400 (EDT)	[thread overview]
Message-ID: <Pine.GSO.3.96.990524162357.11960A-100000@enterprise> (raw)
In-Reply-To: <E174A451D655D2119B6900E0290E6E780A4980@carrera-mail2.Carrera.com>


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 


  reply	other threads:[~1999-05-24 21:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-24 18:59 Enable another user Marek Dohojda
1999-05-24 20:37 ` Speedracer [this message]
1999-05-25  8:57 ` Phil Carmody
  -- strict thread matches above, loose matches on Subject: below --
1999-05-24 18:21 Dan O'Reilly
1999-05-24 19:02 ` Larry Snyder
1999-05-24 19:40 ` David R. Gavin
1999-05-25  0:01 ` Peter Petrakis
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox