If sudo is installed on the box, it may be possible to change the
root password.

Otherwise, if it demands a password to go into single-user-mode,
wouldn't a rescue CD do the trick?

chroot /mnt/sysimage passwd root

-Steve

-----Original Message-----
From: Burke, Thomas G. [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 04, 2003 10:58 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Recover root password


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If he's put a password on the single bootup option, he's hosed. 
He'll have to crack the password file - but I'm thinking that the
root password is not stored there...

- -----Original Message-----
From: Jan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 04, 2003 11:14 AM
To: [EMAIL PROTECTED]
Subject: Re: Recover root password


alan maciel wrote:
> anyone knows how to recover the root password?
> 
> I have a server and the tech support people lost the root password.
> 
> Regards
> 
> 
> 
You are not supposed to able to crack the passwords in UNIX (yes, I
know 
there's SW that can do this; I don't what it is).

If any terminal is logged in as root, simply change the password to 
something (and remember it). If not, boot up in single user mode and
do 
it. If you use Linux you can tell the kernel to start in single user 
mode by passing 'init s' as kernel parameters. From lilo it would be 
something like:

linux init s

- - here, 'linux' is whichever label you gave this kernel in lilo.conf.

I don't know how grub or other boot loaders handle kernel parameters;
somebody else?

/jan




- -- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.3

iQA/AwUBPj/w4dPjBkUEZx5AEQJhMgCeM49uL3Clv8QAKiRrH1ztAWNGDxoAn0X1
CDlaRiCnGdory2rO/PDJrjwP
=QWDl
-----END PGP SIGNATURE-----



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to