Operating System - HP-UX
1855260 Members
23530 Online
104109 Solutions
New Discussion

Re: can't find home directory with telnet/login for NIS account but su works

 
Louella Jamias
New Member

can't find home directory with telnet/login for NIS account but su works

Why is it behaving this way???
I have one NIS account that cannot login, but all other NIS accounts can. When I try to su to the NIS account, it works -- automounting the home directory and executing the .profile in the home directory. When user tries to telnet to the server and log in thru the login prompt, it fails with no error message at all:
login: lyang
Password: ********
login:

I have my /etc/default/security with ABORT_LOGIN_ON_MISSING_HOMEDIR=1. I don't have problems with NIS since all other NIS accounts can log in with telnet/login and have their home directories automounted. Only with this one particular NIS account. If I set ABORT_LOGIN_ON_MISSING_HOMEDIR to 0, it was able to log in and automount mounts the account's home directory.
3 REPLIES 3
Dhanish_2
New Member

Re: can't find home directory with telnet/login for NIS account but su works

I've had similar problems but not the same. Check the shell of the user. try changing it. Is the same id able to login to other boxes? how about stale NFS mount point? if yes, try killing it and then try.
All the Best.
Niraj Kumar Verma
Trusted Contributor

Re: can't find home directory with telnet/login for NIS account but su works

Hi,


# /sbin/init.d/nfs.server stop
# /sbin/init.d/nfs.client stop
# /sbin/init.d/nis.server stop
# /sbin/init.d/nis.client stop

#/sbin/init.d/nfs.server start
# /sbin/init.d/nis.server start
# /sbin/init.d/nis.client start
# /sbin/init.d/nfs.client start

Follow this order.

-Regards
-Niraj


Niraj.Verma@philips.com
Louella Jamias
New Member

Re: can't find home directory with telnet/login for NIS account but su works

Yes, same user account can log in to AIX and Solaris box but not HP-UX, that's why I know the NIS entry is ok. I also tried putting the account local to the box,ie, copy the NIS entry and put in the /etc/passwd, but the same error.