1833314 Members
2809 Online
110051 Solutions
New Discussion

GID problem

 
SOLVED
Go to solution
Kimberly Kim_1
Occasional Contributor

GID problem

Hi,

I setup an GID on /etc/passwd file as well as in group file on our NIS server. But user name doesn't show with the GID.

>id
uid=1629(ddd) gid=191()

/etc/group file
lang::191:bdubbert,ccl,cnikiel,ddd

NIS group file
lang::191:bdubbert,ccl,cnikiel,ddd

Anyone know why?

Thanks,
Kimberly
3 REPLIES 3
Jeff Schussele
Honored Contributor
Solution

Re: GID problem

Hi Kimberly,

Your group ID is unrecognized.
Run grpck to see if possibly corrupted group file.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Kimberly Kim_1
Occasional Contributor

Re: GID problem

I checked the permission of the /etc/group, and it wasn't readable by others. After add read permission fot other, it works.

Thanks!
kKim
Vitek Pepas
Valued Contributor

Re: GID problem

Did you rebuild NIS maps after making changes in /etc/group file?
Check the 'group' entry in /etc/nsswitch.conf to make sure it is read from the local file.