Operating System - HP-UX
1835390 Members
3364 Online
110078 Solutions
New Discussion

Access on the console by HP-Ux-Server

 
Soeguet
Contributor

Access on the console by HP-Ux-Server

I can't login as root or as an another user on the console by a HP-UX-Server. I forgot my root password and tried several times to login again by using different passwords.
Then it seemed that the login process is completely denied.

I just want to know how to login without rebooting the system or to login normally again.

Bye
S.Soeguet
6 REPLIES 6
MARTINACHE
Respected Contributor

Re: Access on the console by HP-Ux-Server

Get that system into single user mode. Then type mount -a, this will give you access to all the utilities you need.
edit /etc/passwd and remove whatever is between the first two ::.
That stuff is your password stored in an encrypted format. This should work unless you have set that server to run in the trusted environment.
Patrice MARTINACHE
MARTINACHE
Respected Contributor

Re: Access on the console by HP-Ux-Server

Get that system into single user mode. Then type mount -a, this will give you access to all the utilities you need.
edit /etc/passwd and remove whatever is between the first two ::.
That stuff is your password stored in an encrypted format. This should work unless you have set that server to run in the trusted environment.
Patrice MARTINACHE
MARTINACHE
Respected Contributor

Re: Access on the console by HP-Ux-Server

Get that system into single user mode. Then type mount -a, this will give you access to all the utilities you need.
edit /etc/passwd and remove whatever is between the first two ::.
That stuff is your password stored in an encrypted format. This should work unless you have set that server to run in the trusted environment.
Patrice MARTINACHE
MARTINACHE
Respected Contributor

Re: Access on the console by HP-Ux-Server

Get that system into single user mode. Then type mount -a, this will give you access to all the utilities you need.
edit /etc/passwd and remove whatever is between the first two ::.
That stuff is your password stored in an encrypted format. This should work unless you have set that server to run in the trusted environment.
Patrice MARTINACHE
MARTINACHE
Respected Contributor

Re: Access on the console by HP-Ux-Server

Get that system into single user mode. Then type mount -a, this will give you access to all the utilities you need.
edit /etc/passwd and remove whatever is between the first two ::.
That stuff is your password stored in an encrypted format. This should work unless you have set that server to run in the trusted environment.
Patrice MARTINACHE
Victor BERRIDGE
Honored Contributor

Re: Access on the console by HP-Ux-Server

Without a reboot there is not many chance of changing anything since your root access is denied meaning your on a trusted system, your only salute from there if you dont want to reboot is to find your passwd you can enter again on the console, that means you will have to try as a user to su root until your passwd works...
then you can enter on the console with it, or (but I havent tried so no garanty...) su root and with sam reactivate the account...

Hope this helps

Well if you change mind and decide to reboot, inform us and you will get another procedure

Regards
Victor