NIS question

Matthew Gillen me at mattgillen.net
Fri Oct 13 14:04:36 EDT 2006


Matthew Gillen wrote:
> Jerry Feldman wrote:
>> I just set up the NIS server, and tested it, and on the client, when I log 
>> in, I get the following message.
>> id: cannot find name for user ID 502
>> I only setup the databases for passwd, group and hosts
>> a 'ypcat passwd' correctly displays the users both on the server as well 
>> as the client. There is something stupid that I am missing.
> 
> Does 'genent passwd' also correctly display the users?

Make that: getent passwd

> 
> If not, check your /etc/nsswitch.conf file, and make sure there is entries
> that look like this:
> 
> passwd:     files nis
> shadow:     files nis
> group:      files nis
> 
> Matt
> 


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




More information about the Discuss mailing list