LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 08-13-2002, 02:06 PM   #1
joeslazenger
LQ Newbie
 
Registered: Aug 2002
Location: South Carolina
Distribution: Red Hat 7.2, 8.0, Advanced Server 2.1
Posts: 17

Rep: Reputation: 0
a user can be in two groups?


user1 is in groupA
I'd like for user1 to be part of groupB though.

Do you know of a way to change that?

Thanks
Slaz
 
Old 08-13-2002, 02:08 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
either add them from the command line using the useradd command, man useradd for more options.
or you can edit your /etc/group file and add the user in the appropiate group that way.
 
Old 08-13-2002, 02:12 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
my bad, that command is usermod , not useradd to modify an existing user.
 
  


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
UK Linux User Groups floppywhopper Linux User Groups (LUG) 0 04-14-2005 09:20 PM
user groups technochef Linux - General 2 10-31-2004 05:00 PM
one user 2 groups alaios Linux - General 5 10-20-2004 08:33 AM
groups for a monitor user pe2338 Linux - Security 5 05-18-2004 02:37 AM
Linux User Groups? gsmonk Linux - General 1 09-01-2003 05:20 PM


All times are GMT -5. The time now is 11:56 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