1846356 Members
3558 Online
110256 Solutions
New Discussion

i am forget a password

 
Mousa55
Super Advisor

i am forget a password

Hello

i am forget the root password of a server, how to me to return the password or change
plz help me i need this server.

thanks
6 REPLIES 6
MarkSyder
Honored Contributor

Re: i am forget a password

Go into single-user mode and reset the password.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Joël Techer
Advisor

Re: i am forget a password

yes effectively , mark syder is right.

The only thing you can do is to shutdown your machine and to boot in single user mode

for pa-risc :
At startup, interrupt the boot sequence enter to ipl
bo pri / interact with isl => y
hpux -is

once you have the prompt,
=> passwd root

for itanium
interrupt the boot sequence at startup.
go to the efi shell
cd fsX:\ (usually fs2:\)
cd efi/hpux
boot -is

Regards
Jean-Louis
Robert-Jan Goossens
Honored Contributor

Re: i am forget a password

Hi,

If you have sudo installed and configured, or you have a .rhosts with root, or ssh with authorized_keys setup, you try to "break in" your system.

Robert-Jan
Viswanadhan
Regular Advisor

Re: i am forget a password

Hi Nejad,

If u have root permissions to other user, then login with it.
MarkSyder
Honored Contributor

Re: i am forget a password

I suspect what Viswanadhan is talking about is if you have another user with uid 0. If you have, please remove that user from the /etc/passwd file before an inexperienced sys admin does it for you and wipes your system clean.

Mark
The triumph of evil requires only that good men do nothing
Juan M Leon
Trusted Contributor

Re: i am forget a password

I agree with Robert-Jan Goossens, if you have sudo access configured you can always sudo su - and become root user.

good luck