1836856 Members
2527 Online
110110 Solutions
New Discussion

gid

 
subhashni
Regular Advisor

gid

what happens if passwd entry created for the user with uid ,gid,where gid is not in group file.
Thanks
unix4me
2 REPLIES 2
James R. Ferguson
Acclaimed Contributor

Re: gid

Hi:

In the absence of an entry in '/etc/group' to which to map the numeric value, you will simply see the group as its numeric (gid) value.

Regards!

...JRF...
Paul Sperry
Honored Contributor

Re: gid

-rwxr--r-- 1 root sys 124 Dec 5 14:45 mkdepot
-rw-rw-rw- 1 root sys 730 Feb 6 14:25 moronpatches
-rw-rw-rw- 1 root sys 10667 Dec 4 15:20 patchlist
-rw-rw-rw- 1 root sys 3793 Jan 10 09:45 patchmantis
-rw-rw-rw- 1 root sys 4145 Jan 10 09:44 patchmoron
-rw-rw-rw- 1 root sys 3791 Jan 10 09:45 patchstempy
-rwxr--r-- 1 patrick 666 928 Oct 24 15:29 prinlist
-rwxr--r-- 1 patrick 666 96 Jul 21 2003 psterm
-rwxrwxrwx 1 patrick 666 93 Jan 28 08:33 runie
drwxrwxrwx 2 root sys 96 Feb 4 15:11 tmp
-rw-rw-r-- 1 root sys 34290 Oct 31 09:46 userinfo

here is a ls of my system
patrick belongs to group id 666
which is not in the /etc/group file
essentially patrick belongs to no group.