1832978 Members
2881 Online
110048 Solutions
New Discussion

login problem

 
Sandeep Daphal
Frequent Advisor

login problem

when i tyr to login hpunix with root user it given error user name & login id is incort but login id & password what ever i try is coorect.

pls suggest
9 REPLIES 9
Trng
Super Advisor

Re: login problem

Hi,

may be due userage.can u pls go to single usermode and change the passwd and try

rgds
suresh
administrator
Sunny Jaisinghani
Trusted Contributor

Re: login problem

hi
Check your /etc/passwd file and if it is changed or not.

if you find something fishy then someone has played with it.

iy your root passwd has been changed then you need to get to the single user mode and change the password.

Regards
Reshma Malusare
Trusted Contributor

Re: login problem

Hi sandeep,
first check /etc/passwd & if everything is ok.. then change the passwrod from single user mode..

Thanks & Regards
Reshma
vz7r1x
Regular Advisor

Re: login problem

You can use sam utility to change the password and it correctly writes password into password database. Run sam and go to:

-->select Accts for users & groups
-->hightlight users,
-->select root acct, highlight it
-->mofidy user's password
-->select your own password for root
....
exit

Hope this helps.
Sp4admin
Trusted Contributor

Re: login problem

Hello,

As stated above verify that the /etc/passwd file has not been changed. Then boot to singel user mode and change the root password. Then let the system but as it normally would.

Good luck,
SP,
NMory
Respected Contributor

Re: login problem

Correct if I am wrong but Sandeep is not able to login to the system because doesn't have access via root.

Sandeep do you have access to the server using another username and password?

If errors keep coming up, then boot into single user mode interrupting the boot sequence. Then boot from your primary disk and interact with ISL, boot into single usermode with the hpux -is command in ISL prompt.

Mount the /usr file system with #mount /usr

Change the password for root with the #passwd command

Veirfy the contents of the /etc/passwd file with #cat /etc/passwd send us the ouput of the /etc/passwd command if you want to.

Regards,

NM
Tim Nelson
Honored Contributor

Re: login problem

Did you try directly from the console ?

How about an su from another user ?

If the above two work then /etc/securetty probably exists.

A couple more attempts and root will be locked out and the only access will be from the console or crash the server and boot to single user.

vz7r1x
Regular Advisor

Re: login problem

If you can not access system using root password, use sudo -

Or following the folloeing suggestion:
1. Reboot the system

2, Interupt the boot cycle during the 10 second window where it says press any key

3. Issue the command --> bo pri

4. Answer yes to interact with ISL

5. enter --> hpux -is at the ISL prompt, and press enter

6. This will bring you up in single user mode, and it will give you the ability to reset root password.
Sandeep Daphal
Frequent Advisor

Re: login problem

Thanks for help i boot system in singel user moade & change password.

thanks once again.