Re: error when logging into system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, 2010-10-01 at 17:37 -0600, Ski Dawg wrote:
> Hello everyone,
> 
> I have a CentOS 5 system. On this system, I used the usermod -n and
> groupmod -g to change the user id and the group id for a standard,
> regular user from 500 to 1000.
> 
> I then ran the following commands (as root), to make sure all the
> files were changed to match:
> find / -uid 500 -exec chown 1000 {} \;
>   -- and --
> find / -gid 500 -exec chgrp 1000 {} \;
> 
> Now, whenever I try to login as that regular user, I get the following error:
> id: can't find name for groupd ID 500
> 
> I have checked /etc/passwd and /etc/group and both files are correctly
> showing 1000 as the user and group ids. I didn't see the id isn't
> listed in either of the shadow files. All of the files in the user's
> home directory have the ownership and group set to id 1000.
> 
> I have rebooted the system to make sure nothing was being stored in
> memory, with the same results.
> 
> Any other thoughts to look into to correct this error?
----
Is the user a local user? 

What is the output of 'grep passwd /etc/nsswitch'  ?

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux