[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [K12OSN] Adding user to a group
- From: Julius Szelagiewicz <julius turtle com>
- To: k12osn redhat com
- Subject: Re: [K12OSN] Adding user to a group
- Date: Sun Nov 30 09:29:01 2003
On Sat, 29 Nov 2003, Terrell Prude', Jr. wrote:
> Here's how.
>
> microman multimedia01:~$ su root
> Password:
> root multimedia01:/home/microman# vi /etc/group
>
> Note that you can use any editor of your choice for this (kedit, gedit,
> even OpenOffice.org if you remember to save in text format :-) ). Once
> inside, find your group name and have at it, like so:
>
> root::0:root
> bin::1:root,bin,daemon
> mygroup::200:microman,macrogirl,gandalf,mrspock,MyNewUser
>
> You see that I've added MyNewUser to mygroup, above, and that the
> userIDs are separated by commas. Save, and presto, you're done. Yep,
> it really is that easy, and it works on all GNU/Linux distributions, be
> they Red Hat, Debian, Slackware, SuSE, whatever. Works on Solaris,
> HP-UX, and the BSDs, too! You might need to log out and log back in for
> it to take full effect.
>
> Beats the heck out of a registry, don't it? :-)
Terrell,
if the line gets too long, just add another "mygroup" line. What's
a registry? ;-)
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]