1757184 Members
2429 Online
108858 Solutions
New Discussion юеВ

Stuck in Trusted mode.

 
SOLVED
Go to solution
Melkar
Occasional Advisor

Stuck in Trusted mode.

Hello,

My problem is simple, i remotely trusted my system and my root password is 4 chars long.
There is a user logged on the machine but he is stuck at his screensaver unlocking feature where he have to enter his password (which is also 4 chars long) anbd its not working. I do not have much experience with UX.

There is no way for me to log on that machine.

Do i have to reboot it? I am affraid that if i reboot, i wont be able to log on either.

any help is much appreciated.
Thanks a lot.
12 REPLIES 12
IT_2007
Honored Contributor

Re: Stuck in Trusted mode.

It seems user forgot the password. you can logon remotely using telnet /ssh to the machine and unlock the user.
IT_2007
Honored Contributor

Re: Stuck in Trusted mode.

once you login you can issue following commnand to unlock

/usr/lbin/modprpw -k

You should be root or equivalent to issue it.
Melkar
Occasional Advisor

Re: Stuck in Trusted mode.

I am not able to login in any way. telnet ssh rlogin all are telling me i that i have the wrong password.
Jaime Bolanos Rojas.
Honored Contributor

Re: Stuck in Trusted mode.

Melkar,

Your passwd is just 4 characters long, the user's too, the user did not forget the password and you did not forget the password either or log out of the system.

When you convert to trusted, the system is just going to accept passwords that are minimun 8 characters long, and if more, it will not take them into account.

Just change the user password and your root password to one that is 8 characters, and all of the users on the system, or unconvert the system.

Regards,

Jaime.
Work hard when the need comes out.
Jaime Bolanos Rojas.
Honored Contributor

Re: Stuck in Trusted mode.

Ohh, yes, if you get the right answer, please do not forget to asign points to people, it's just polite to do so in this forum.

Regards,

Jaime.
Work hard when the need comes out.
Melkar
Occasional Advisor

Re: Stuck in Trusted mode.

Thanks forthe reply, however it did not work.
I could not resume the session because his screensaver was waiting the new 8 chars passwd.

I had no choice but reboot the machine. I am now trying to run in a single user mode, but i do not know how. I will looko at the menus.



Thanks a lot for the reply Jaime.
A. Clay Stephenson
Acclaimed Contributor

Re: Stuck in Trusted mode.

You forgot the Golden Rule. Whenever you are doing anything even remotely dangerous, always be logged in as root in at least two sessions so that you can get yourself out of trouble almost as fast as you got yourself in.

You should be able to login at the console and you need to hit yourself with a baseball bat for having such a short password --- especially root's.
If it ain't broke, I can fix that.
Steven E. Protter
Exalted Contributor

Re: Stuck in Trusted mode.

Shalom

boot to single user mode

passwd username

Set the password to 8 characters on root so you can log back in.

Then boot to network mode and reset the rest of the passwords.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Melkar
Occasional Advisor

Re: Stuck in Trusted mode.

I was able to fix it.

Here is what i did:

I logged in Single User mode.
I cancelled the Auto Boot by pressing Enter at the question asking me if I wanted to cancel the Auto boot.

Next question was: Do you want to Interact with IPL? I said yes.

Once in a console mode, I typed "hpux -is"
I was then logged as a super user.


I changed the root password to a temporary one and i made sure it was at least 8 characters long.

I rebooted.

I still could not login.


I redid the same process again but this time, when in single mode i typed "mount all" at the prompt.

I ran sam in the console and was able to copnvert the system back to its original state (Untrusted).

Thanks a lot for the help.