Originally Posted by rajesh_22ap
I have situation where i have NIS server with five user but i want one of the user will not login in domain please provide a solution.......
Solution to WHAT? You give us no details about your situation, so there's little we can help with. Things like what version/distro of Linux you're using? What OS (including version/distro), the five clients are running on their workstations? What you've done/tried so far?? ANTYHING???
The /etc/nsswitch.conf file should have entries like:
passwd: files nis
shadow: files nis
group: files nis
...which means it checks the LOCAL file first, before going to NIS. Instead of using yppasswd, use the regular passwd command, which should update the local shadow file, without changing the NIS information. Try that.