LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-21-2001, 12:35 PM   #1
cruella
LQ Newbie
 
Registered: Jun 2001
Posts: 17

Rep: Reputation: 0
groups


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

Rep: Reputation: 234Reputation: 234Reputation: 234
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

Code:
# 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 12:52 PM.
 
Old 06-21-2001, 01:36 PM   #3
cruella
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, 01:43 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
yeah, that is where the GID comes in place, to be safe, manually add them in the /etc/group file.
 
Old 06-23-2001, 03:40 AM   #5
ugge
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 ,
 
  


Reply


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 03:50 AM
Map Windows NT Groups to UNIX Groups - why? kenji1903 Linux - Networking 4 10-16-2007 12:52 PM
limit to nesting groups within groups? geekgrl Linux - General 3 10-16-2007 12:50 PM
winbind: wbinfo -g only lists global groups from PDC and not local groups saradiya Linux - Networking 0 12-01-2003 03:58 AM
Groups members of other groups bentz Linux - Security 6 06-23-2003 12:23 AM


All times are GMT -5. The time now is 08:13 AM.

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