Edit a NIS User's default Shell
Hey guys,
Im a fairly noob Unix Sysadmin and need to change a NIS user's default shell from csh to bash. I know that /etc/passwd is just for local accounts and that I need to edit the NIS Maps and then re-compile them. I cannot seem to find anywhere how I go about editing a user through all my Google searching. Is there a similar file to /etc/passwd somewhere? or do i need to run a command? This is a Solaris 8 box, and commands like chsh and ypchsh do not exist on there. Can anyone help? Thanks |
See http://www.linuxhomenetworking.com/w...onfiguring_NIS Section 'Adding New NIS Users'.
Just user usermod -s http://linux.die.net/man/8/usermod , then follow that section. |
Thanks for the info. I found the NIS maps in /var/yp/ ... some directory/file in there, edited the passwd file and then in /var/yp used the make command and all was good :)
|
All times are GMT -5. The time now is 04:00 AM. |