Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Enable another user
@ 1999-05-24 18:21 Dan O'Reilly
  1999-05-24 19:02 ` Larry Snyder
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Dan O'Reilly @ 1999-05-24 18:21 UTC (permalink / raw)
  To: axp-list

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Enable another user
@ 1999-05-24 18:59 Marek Dohojda
  1999-05-24 20:37 ` Speedracer
  1999-05-25  8:57 ` Phil Carmody
  0 siblings, 2 replies; 7+ messages in thread
From: Marek Dohojda @ 1999-05-24 18:59 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Enable another user
  1999-05-24 18:21 Enable another user 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
  2 siblings, 0 replies; 7+ messages in thread
From: Larry Snyder @ 1999-05-24 19:02 UTC (permalink / raw)
  To: axp-list

I think you'er missing the pwconv step.  It updates the /etc/shadow
file.
-ls-

"Dan O'Reilly" <dano@process.com> wrote:
> 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Enable another user
  1999-05-24 18:21 Enable another user 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
  2 siblings, 0 replies; 7+ messages in thread
From: David R. Gavin @ 1999-05-24 19:40 UTC (permalink / raw)
  To: axp-list

Dave Gavin <dgavin@shore.net>
X-Mailer: ELM [version 2.4ME+ PL37 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 1400      

Dan,

 you want "adduser" - check the man page ("man adduser") or try
"adduser -h" fo the details, it'll default most everything, i.e.
"adduser fred" will create a passwd/group entry and a /home/fred.
You'll have to set his passwd with "passwd fred" before he can login.
NOTE: this all must be done as root.
 There's also a gui interface under control-panel, which also must be
run as root.

Dave Gavin

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Enable another user
  1999-05-24 18:59 Marek Dohojda
@ 1999-05-24 20:37 ` Speedracer
  1999-05-25  8:57 ` Phil Carmody
  1 sibling, 0 replies; 7+ messages in thread
From: Speedracer @ 1999-05-24 20:37 UTC (permalink / raw)
  To: 'axp-list@redhat.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 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Enable another user
  1999-05-24 18:21 Enable another user 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
  2 siblings, 0 replies; 7+ messages in thread
From: Peter Petrakis @ 1999-05-25  0:01 UTC (permalink / raw)
  To: axp-list


Try "useradd" or use "linuxconf" which has a nice GUI to do it.

Peter


Dan O'Reilly wrote:
> 
> 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

--
www.alphalinux.org
Peter Petrakis          Warrior/Engineer       ppetrakis@alphalinux.org
"Oh my God! They killed Xena! You bastards!!" 
"<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..."


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Enable another user
  1999-05-24 18:59 Marek Dohojda
  1999-05-24 20:37 ` Speedracer
@ 1999-05-25  8:57 ` Phil Carmody
  1 sibling, 0 replies; 7+ messages in thread
From: Phil Carmody @ 1999-05-25  8:57 UTC (permalink / raw)
  To: axp-list

>>>>> "Marek" == Marek Dohojda <Mark@CARRERA.COM> writes:
Marek> edit the /etc/passwd and /etc/group file :) it works
Marek> or you can just use useradd script to do the same thing. (personally I
Marek> like editing by hand)

Marek> -----Original Message-----

Dan> So, to ask the question: how do I enable another user on my RH 6.0
Dan> system?


I doubt you've enabled a shadow password file, so no more need be said
about that. 
Do you not have linuxconf? It may be a sledgehammer to crack a nut, but it
works. 

Phil


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1999-05-25  9:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-24 18:21 Enable another user 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
  -- strict thread matches above, loose matches on Subject: below --
1999-05-24 18:59 Marek Dohojda
1999-05-24 20:37 ` Speedracer
1999-05-25  8:57 ` Phil Carmody

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