1820300 Members
3178 Online
109622 Solutions
New Discussion юеВ

Login problems

 
SOLVED
Go to solution
kaushikbr
Frequent Advisor

Login problems

Hi All,

We are running HP-UX B11.23 on rx2620 based systems and these HP-UX systems are configured as secure systems. All the users home directories on these machines are NFS mounted from a Tru64 UNIX 4.0 machine. The user accounts are also created on the Tru64 UNIX machine with users as primary group. On the HP-UX machine all the users have the same UID and to maintain the GID we have a group called t64users with GID same as the GID for group users on the Tru64 machine. This setup was running until now. Now we have switched the Tru64 machine. Migrated all the users from the old Tru64 machine to a new Tru64 machine.

The problem we have now is when any user tries to login, the login process goes on till the end of executing .profile and hangs.
However if we create a new test user on the HP-UX box with the home directory on the NFS, the test user can login ok.

Thanks in advance for all your suggestions.

Regards
Kaushik
4 REPLIES 4
RAC_1
Honored Contributor
Solution

Re: Login problems

This is most probally the problem of NFS. for a while, for one of the users set HISTFILE to local dir and check. Instead of NFS home, it will set HISTFILE to local dir.

Do you see any error messages in syslog/dmesg. When true64 server was changed, did you do any changes on hp-ux server? Particularly with respect to name/ip address, automounts options. automount maps?

Can you mount NFS home directories manually?
There is no substitute to HARDWORK
kaushikbr
Frequent Advisor

Re: Login problems

Hi RAC,

Thanks for your reply.
I will try setting the HISTFILE to a local directory.

We have not changed anything on the HP-UX machine.
When we migrated all the users from the prev Tru64 box to the new tru64 box, we simply replaced the old hostname with the new hostname in the /etc/fstab, unmounted the previous home directories and mounted the new home directories using mount -a.

Did have a look at the syslog, did not see anything suspicious.

Thanks and regards
Kaushik
kaushikbr
Frequent Advisor

Re: Login problems

Hi RAC,

Setting the HISTFILE to a file on the local directory did the trick.

But cannot explain how it was working on the old Tru64 machine.

Can you please shed some light ?

Thanks for your suggestion

Kaushik
kaushikbr
Frequent Advisor

Re: Login problems

Hi,

I have also updated the NFSLOCKING from "0" to "1" and NONROOTMOUNTS from "0" to "1" /etc/rc.config file on the Tru64 UNIX machine.

I can login alright.

Thanks for your suggestion.

Kaushik