[NTLUG:Discuss] What is the proper way to add users to groups?
rob apodaca
rob.apodaca at attbi.com
Wed Dec 11 09:49:14 CST 2002
On Wed, 11 Dec 2002 09:18:18 -0600
"Richard Geoffrion" <ntlug at rain4us.net> wrote:
> 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
Hi Richard,
In my opinion, any method used which ends with the desired result is
the Proper way...it's all a matter of perspective.
Ok that said, here is another way you could add users to groups:
usermod -g initialgroup #user's new initial group
usermod -G group1,group2,group3 #additional groups
check the manpage for usermod for more info.
Cheers,
-rob
More information about the Discuss
mailing list