1833750 Members
2884 Online
110063 Solutions
New Discussion

Not Able To Login

 
Alex Ferreira
Frequent Advisor

Not Able To Login

Dear All,

Permissions and also ownership on /usr have been changed, and now I cannot login to the server. a chown -R bin:bin /usr was executed.

I have tried to change a few things here and there, but still not been able to login. What is happening is, it will ask for userid, I enter that, then it asks for the password, I enter that, it then goes back to the userid.

This machine is outside the DMZ. Any help will be greatly appreciated.. Running HP-UX 11i.

Cheers,

Alex
4 REPLIES 4
Patrick Wallek
Honored Contributor

Re: Not Able To Login

The major problem binary will probably be /usr/bin/passwd. That MUST be owned by root.

Try changing the ownership on that one and see if it helps.
Alex Ferreira
Frequent Advisor

Re: Not Able To Login

Patrick,

thank you very much for taking the time out to answer. I have changed a few things here and there....

I forgot to make one last change, /usr/bin/login... This was showing as bin:bin, changed it back to root:bin and I am in.. Woo hoo..

Cheers again,

Alex
Alex Ferreira
Frequent Advisor

Re: Not Able To Login

Solved
Patrick Wallek
Honored Contributor

Re: Not Able To Login

Now that you are in, you should run an 'swverify' to see what you have missed.

I can't get to a machine easily at the moment, but do a 'man swverify' to see what all of the options are. swverify will fix problems it detect if you let it, which you probably should in this case.