1849201 Members
8829 Online
104041 Solutions
New Discussion

Forgotten,Lost, Password

 
Hal.Napper
New Member

Forgotten,Lost, Password

The User Password has been lost.
How can I either,establish a new password without knowing the old one or diableing it altogether.
Hal.
7 REPLIES 7
Geoff Wild
Honored Contributor

Re: Forgotten,Lost, Password

As root, set a new password:

passwd user

You can not recover, unless you use third party tools like crack....

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
steven Burgess_2
Honored Contributor

Re: Forgotten,Lost, Password

ho hum

if it's the root password, you will need to boot into single user mode !

follow the prompts and interupt, type 'y' to interact then hpux -is

when you hit the prompt

#mount -a
#/usr/lbin/tsconvert -r

this will bring you into " break me shake me" mode ! from then you can reset the root password with

passwd

otherwise you need to go to the protected entry in

/tcb/auth/files/r ( i think! , had a few beers at this point !)

vi the root entry and remove the password field

For a normal user you do be the same thing

HTH

Steve
take your time and think things through
Steven E. Protter
Exalted Contributor

Re: Forgotten,Lost, Password

Steve,

The beers didn't slow you down a bit.

Those instructions apply to trusted system and the root password is in a file called root.

Change this:

:u_pwd=hZUjWYS59I9OIvlS8JkUoW2k:\


to

:u_pwd=:\

Save it.

You are done.

No root password.

Lets be careful out there.

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
Hal.Napper
New Member

Re: Forgotten,Lost, Password

Thank's for the help but as a beginner the answers were just to technical.
Perhap's I should have added that I am unable to get the computer to boot.

Robert Binkhorst
Trusted Contributor

Re: Forgotten,Lost, Password

Hi,

You said the answers were to technical, please try the following:
- Power on the machine
- When it says "press any key to interrupt the boot", press any key.
- Type "bo pri",
- type 'y' to interact
- now type "hpux -is"
- Wait for it to boot.
- Type "mount -a"
- type "passwd". This will prompt you for the new password. Enter it twice and done!
- Type "init 3"

That should do it!

Good luck,
Robert
linux: the choice of a GNU generation
Dave La Mar
Honored Contributor

Re: Forgotten,Lost, Password

Hal -
My first thought on your comments of "technical" was to advise you to contact your SA. Though that is basicly still true, we need input from you as to the circumstances and outputs from your boot problems.

Hang in there. The forums will get you up and running.

Regards,

dl
"I'm not dumb. I just have a command of thoroughly useless information."
Hal.Napper
New Member

Re: Forgotten,Lost, Password

Dave:
Thank's for your your interest,and reply.
I was adle to boot the PC and enter by using the Safe Mode.From there I accessed the Users Account and disable the Passwords.
Thanks again .
HAL