Unix/Linux Go Back    


UNIX for Dummies Questions & Answers This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in this forum UNIX for Beginners Questions & Answers

Inconsistency between passwd and group

UNIX for Dummies Questions & Answers


 
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 07-01-2011   -   Original Discussion by Norgaard
Norgaard's Unix or Linux Image
Norgaard Norgaard is offline
Registered User
 
Join Date: Jun 2011
Last Activity: 9 December 2011, 5:43 AM EST
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
Inconsistency between passwd and group

Hi,
I have a passwd file with 3 users belonging to the the root group (gid=0), but the group file does not list these users as members of the root group?
Shoud I be worried and apart from manually changing it, how can it be remediated?
thx
Norgaard
Sponsored Links
    #2  
Old Unix and Linux 07-01-2011   -   Original Discussion by Norgaard
pludi's Unix or Linux Image
pludi pludi is offline Forum Advisor  
Cat herder
 
Join Date: Dec 2008
Last Activity: 28 March 2014, 8:35 AM EDT
Location: Vienna, Austria, Earth
Posts: 5,521
Thanks: 38
Thanked 335 Times in 308 Posts
No need to worry. The primary group of a user is defined by the entry in passwd. Any user noted in /etc/group has this group as a secondary group. You can check what groups a user belongs to by using the id command.
Sponsored Links
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Understanding group and passwd yoavbe UNIX for Dummies Questions & Answers 2 11-30-2010 10:51 AM
ypcat group, ypcat passwd pinnacle Shell Programming and Scripting 2 04-11-2009 04:56 PM
is it really not possible for me to edit the etc/group & the etc/passwd files? whatev3r UNIX for Dummies Questions & Answers 2 12-11-2008 11:26 AM
Disk inconsistency Carmen123 UNIX for Dummies Questions & Answers 1 11-20-2006 11:10 AM
grep group and passwd file mozartny UNIX for Dummies Questions & Answers 4 07-17-2003 11:39 AM



All times are GMT -4. The time now is 12:07 AM.