Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-21-2001, 11:35 AM   #1
LQ Newbie
Registered: Jun 2001
Posts: 17

Rep: Reputation: 0

how do I add a user to an exisiting group in Red hat 6.0???
Old 06-21-2001, 11:48 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 246Reputation: 246Reputation: 246
you can manually add them with the /etc/group file. that i find the easiest way, well to me it is.
man group for all your different options to add from the command line.

i think its something along the line of this

# groupadd username GID
where GID is the group id number associated with it.
it might be the GID before username though. can't remember and not at a linux box at time being.

Last edited by trickykid; 06-21-2001 at 11:52 AM.
Old 06-21-2001, 12:36 PM   #3
LQ Newbie
Registered: Jun 2001
Posts: 17

Original Poster
Rep: Reputation: 0
This says for adding a new group... I need to add a user to an existing group. Is it the same command?
Old 06-21-2001, 12:43 PM   #4
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 246Reputation: 246Reputation: 246
yeah, that is where the GID comes in place, to be safe, manually add them in the /etc/group file.
Old 06-23-2001, 02:40 AM   #5
Senior Member
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
You can also use linuxconf. Under Config|User Accounts|Normal|User accounts you find your users.
Open up a user and under Supplementary groups add the groups you want that user to be in.
I don't remember wich separator to use between group, but try ; or ,


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
groups (system default groups) Xavius Linux - General 2 07-18-2012 02:50 AM
Map Windows NT Groups to UNIX Groups - why? kenji1903 Linux - Networking 4 10-16-2007 11:52 AM
limit to nesting groups within groups? geekgrl Linux - General 3 10-16-2007 11:50 AM
winbind: wbinfo -g only lists global groups from PDC and not local groups saradiya Linux - Networking 0 12-01-2003 02:58 AM
Groups members of other groups bentz Linux - Security 6 06-22-2003 11:23 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration