Inconsistency between passwd and group


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Inconsistency between passwd and group
# 1  
Old 07-01-2011
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
# 2  
Old 07-01-2011
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.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Conflicting GID in group and passwd files.

Hi guys, I have a question. In the passwd file, user johndoe has a GID of 100 which is the group named users in the group file. But if you check the group file, johndoe is not listed under GID 100, but under GID 33, which is the group named videos. Under what group does johndoe really belong,... (1 Reply)
Discussion started by: goldenlight1814
1 Replies

2. AIX

When did AIX start using /etc/security/passwd instead of /etc/passwd to store encrypted passwords?

Does anyone know when AIX started using /etc/security/passwd instead of /etc/passwd to store encrypted passwords? (1 Reply)
Discussion started by: Anne Neville
1 Replies

3. Shell Programming and Scripting

need a one liner to grep a group info from /etc/group and use that result to search passwd file

/etc/group tiadm::345:mk789,po312,jo343,ju454,ko453,yx879,iy345,hn453 bin::2:root,daemon sys::3:root,bin,adm adm::4:root,daemon uucp::5:root /etc/passwd mk789:x:234:1::/export/home/dummy:/bin/sh po312:x:234:1::/export/home/dummy:/bin/sh ju454:x:234:1::/export/home/dummy:/bin/sh... (6 Replies)
Discussion started by: chidori
6 Replies

4. Solaris

passwd cmd reenables passwd aging in shadow entry

Hi Folks, I have Solaris 10, latest release. We have passwd aging set in /etc/defalut/passwd. I have an account that passwd should never expire. Acheived by emptying associated users shadow file entries for passwd aging. When I reset the users passwd using passwd command, it re enables... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies

5. UNIX for Dummies Questions & Answers

Understanding group and passwd

Hi, I am checking who belong to the dba group , and found that oracle and autosys users are part of this group cat /etc/group | grep dba dba::400:oracle,autosys I thought to found user autosys under group 400 togther with user oracle , but found it in group 1000 as you can see bellow.... (2 Replies)
Discussion started by: yoavbe
2 Replies

6. Shell Programming and Scripting

ypcat group, ypcat passwd

When i run the following command on our server ypcat group or ypcat passwd I get list of groups and users respectively. I am not sure whether this list is only for the groups or users on the particular server on which i executed the command or all the groups and users on all the servers in... (2 Replies)
Discussion started by: pinnacle
2 Replies

7. UNIX for Dummies Questions & Answers

File System inconsistency

:mad: Dear All, Here I am sending the error msg that come to to the terminal when I attempt to start my linux redhat 2.4.18-3 system. cheking file system /boot clean /home : clean /usr :containing file system with errors,check forced error reading block 35924(attempt to... (3 Replies)
Discussion started by: callitdctr
3 Replies

8. UNIX for Dummies Questions & Answers

is it really not possible for me to edit the etc/group & the etc/passwd files?

From what I have read it possible to create a new group by editing the etc/group and etc/passwd in UNIX two files but a non-experienced user may face many problems such as destroying the file by mistake ot that his changes to these file does not make any difference. However, there is this... (2 Replies)
Discussion started by: whatev3r
2 Replies

9. UNIX for Dummies Questions & Answers

Disk inconsistency

Hi, it seems I've got an hw error on more than one device. I use an AIX 5.2. this is the problem desc. Description DISK OPERATION ERROR Probable Causes DASD DEVICE Failure Causes DISK DRIVE DISK DRIVE ELECTRONICS I wish to read the SYSLOG file, where is it ? tk (1 Reply)
Discussion started by: Carmen123
1 Replies

10. UNIX for Dummies Questions & Answers

grep group and passwd file

How can I find find all members in the /etc/password file that belong to the dba group in the /etc/group file? (4 Replies)
Discussion started by: mozartny
4 Replies
Login or Register to Ask a Question