|
Users are assigned to groups by entries in the file /etc/passwd. The first line of my passwd file is "root:x:0:0::/root:/bin/bash". The first "0" is root's user id, and the second "0" is root's group id. The name of group 0 is given in the file /etc/group, which on my system has the line "root::0:root", where the first "root" is the name assigned to the group whose id is "0". So check out these two files on your system to make sure that root is assigned to group 0 and the name of group 0 is "root".
Last edited by GregLee; 04-09-2004 at 01:29 PM.
|