[NTLUG:Discuss] What is the proper way to add users to groups?

Ed Coates edcoates at nighthawk.dyndns.org
Wed Dec 11 09:23:47 CST 2002


Quoting Richard Geoffrion <ntlug at rain4us.net>:

> I don't think 'pico'ing the /etc/group and /etc/gshadow is the correct way
> to do things.
> 
> How should one REALLY add users to groups from the command line interface?
> 
> -Richard
> 
Richard,

There's the useradd command that is common to most distros of Linux, but if you
know what you're doing, there's really nothing wrong with adding a user manually
like that.  Just don't forget to create their home directory.  :)  

Not sure if I'd use pico though.  I've heard that it can cause problems.  I'd
personally use vi.

Ed

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/




More information about the Discuss mailing list