Operating System - HP-UX
1835381 Members
3047 Online
110078 Solutions
New Discussion

Re: unable to change my shell in NIS password file

 
radheshyam garg
Occasional Advisor

unable to change my shell in NIS password file

$ rlogin wdrrdoc
Password:
Unable to change directory to "/home/gargr0ll"
Logging in with home = "/".
Please wait...checking for disk quotas
Connection closed.
$
in NIS passwd file my passws entry shell is "false" pls tell me how me change my shell so i can login into server..
2 REPLIES 2
Rick Garland
Honored Contributor

Re: unable to change my shell in NIS password file

In the NIS passwd file, you can change that "false" entry to /bin/sh. Then ypmake and push the passwd map file.

The /bin/sh is an example. You can use ksh, csh, etc...

How you make and push your maps can vary based on your environment.

A. Clay Stephenson
Acclaimed Contributor

Re: unable to change my shell in NIS password file

On your NIS master server, edit your passwd map source file (which might be simply /etc/passwd) but that depends upons your NIS configuration. You then cd to /var/yp and type 'make'. That shoul;d push your changes out. Note that you could have a passwd entry on a client and that will override NIS.
If it ain't broke, I can fix that.