I have a solaris 9 server running as a NIS server. I have multiple servers that are running ypbind and I am able to run ypwhich, yppasswd, ypcat on them and log in successfully. I have one server that seems to be configured just as the others (redhat WS3 (I know old)however when I log in it still uses the local passwd file. Here is my nsswitch.conf file:
# To use db, put the "db" in front of "files" for entries you want to be
# looked up first in the databases
#passwd: db files nisplus nis
#shadow: db files nisplus nis
#group: db files nisplus nis
#passwd: files nis
#shadow: files nis
#group: files nis
#hosts: db files nisplus nis dns
hosts: files nis dns
# Example - obey only what nisplus tells us...
#services: nisplus [NOTFOUND=return] files
#networks: nisplus [NOTFOUND=return] files
#protocols: nisplus [NOTFOUND=return] files
#rpc: nisplus [NOTFOUND=return] files
#ethers: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files
bootparams: nisplus [NOTFOUND=return] files
protocols: files nis
services: files nis
netgroup: files nis
automount: files nis
aliases: files nisplus
passwd: nis files
shadow: nis files
group: nis files
I know its messy, but I guess the only important things that are of concern to me are passd, shadow and group files to me.
Why would it be reading the local file? I verified it is using the local file because if I comment out a user account from the local passwd, that user is unable to log in, even though you can see that he/she exists in yppasswd. Any help is appreciated.
Thanks in advance.