NIS
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.......
|
Quote:
The /etc/nsswitch.conf file should have entries like: Code:
passwd: files nis |
Please explain your question little more.
Do you want to restrict that user to use ssh or telnet type of login process? Or do you simply want to make that user inactive in your NIS system? To inactive that user, you can do:- Code:
cp /etc/passwd /etc/passwd.$(date +%Y%m%d) # First take backup of /etc/passwd file |
All times are GMT -5. The time now is 04:21 PM. |