(no subject)
Jerry Feldman
gaf at blu.org
Fri Oct 13 14:17:23 EDT 2006
> Does 'genent passwd' also correctly display the users?
yes. 'getent passwd' displays the 4 password lines correctly.
As I mentioned 'ypcat passwd ' was able to display all the password
entries correctly. Additionally, 'ypmatch gaf 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
/etc/nsswitch is correct.
My next step is to write a short C program to use one of the getpwent(3)
and getpwnam(3) functions.
--
Jerry Feldman <gaf at blu.org>
Associate Director
Boston Linux and Unix
http://www.blu.org
--
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