LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Sabayon
User Name
Password
Sabayon This forum is for the discussion of Sabayon Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 08-24-2009, 12:50 PM   #1
hadibg
LQ Newbie
 
Registered: Nov 2005
Posts: 5

Rep: Reputation: 0
What are the default groups root belongs to?


Hey all,

I did a newbie mistake - I did not read the usermod manual thoroughly.
I wanted to add the root user to an existing group - himerge.
I used
Code:
usermod -G himerge root
By Murphy's law my battery
died right after I realized what I had done.
I still have root access and haven't noticed any problems yet, but I am worried.
Can someone please list the default groups, that root is a member of, so I can add root back?
I use sabayon 4.2, kernel 2.6.29.
Thanks.
 
Old 08-24-2009, 03:42 PM   #2
f14f21
Member
 
Registered: Sep 2008
Distribution: rhel
Posts: 42

Rep: Reputation: 6
#cat /etc/group | grep root
root:x:0:root
bin:x:1:root,bin,daemon
daemon:x:2:root,bin,daemon
sys:x:3:root,bin,adm
adm:x:4:root,adm,daemon
disk:x:6:root
wheel:x:10:root

so
#usermod -G himerge,root,bin,daemon,sys,disk,adm,wheel root
 
Old 08-25-2009, 07:38 AM   #3
hadibg
LQ Newbie
 
Registered: Nov 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you very much.
I just did that and now root is as it should be.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
default groups - which are ok to delete? dcyfer Slackware 2 01-30-2007 10:20 PM
default groups zowey Ubuntu 3 08-22-2006 01:05 PM
Default user groups Markup Linux - General 4 08-15-2005 05:08 AM
groups (system default groups) Xavius Linux - General 1 02-07-2005 03:22 PM
default groups root belongs too Hcman Slackware 2 05-26-2003 04:49 PM


All times are GMT -5. The time now is 07:58 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
Open Source Consulting | Domain Registration