LinuxQuestions.org
Visit the LQ Articles and Editorials section
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: 550

Rep: Reputation: 26
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
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,701

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: 66

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

Original Poster
Rep: Reputation: 26
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
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,701

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: 550

Original Poster
Rep: Reputation: 26
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 01:53 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration