LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 09-05-2011, 03:04 AM   #1
JJJCR
Member
 
Registered: Apr 2010
Posts: 987

Rep: Reputation: 149Reputation: 149
Smile Remove user from root group


hi guys, how do i remove a user from the root group? thanks.
 
Old 09-05-2011, 04:29 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,460

Rep: Reputation: Disabled
Use usermod
ciao,
jdk

Last edited by jdkaye; 09-05-2011 at 04:32 AM.
 
Old 09-05-2011, 04:54 AM   #3
nooneknowme
Member
 
Registered: Feb 2008
Location: Bangalore, India
Posts: 69

Rep: Reputation: 5
Depends ... are you using sudo ?
 
Old 09-05-2011, 06:30 AM   #4
JJJCR
Member
 
Registered: Apr 2010
Posts: 987

Original Poster
Rep: Reputation: 149Reputation: 149
Smile

Quote:
Originally Posted by nooneknowme View Post
Depends ... are you using sudo ?
i'm using CENTOS box..
how to do it?
 
Old 09-05-2011, 07:27 AM   #5
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,460

Rep: Reputation: Disabled
Quote:
Originally Posted by JJJCR View Post
i'm using CENTOS box..
how to do it?
Read
Code:
man usermod
jdk
 
Old 09-05-2011, 08:36 PM   #6
JJJCR
Member
 
Registered: Apr 2010
Posts: 987

Original Poster
Rep: Reputation: 149Reputation: 149
thanks for your help guys i just use vi to edit group file and remove the 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
Is it possible to add/remove a user to a group without logging out and in again? [KIA]aze Linux - General 12 03-01-2009 05:49 PM
Giving a user root permission via the root group louisb Linux - Security 6 07-23-2007 12:56 AM
groupdel: cannot remove user's primary group. leiw Linux - General 1 03-28-2007 10:12 PM
How to remove user from their secondary group? Akhran Linux - Newbie 2 09-13-2006 04:09 AM
remove a user from group in fedora core 3 bnarenderraju Fedora 7 07-20-2005 09:32 AM


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