root password

Steven Stern subscribed-lists at sterndata.com
Tue Feb 7 04:28:24 UTC 2012


On 02/06/2012 08:13 PM, Amit Rp wrote:
> I forgot the root password. Please advise whether there is any
> possibility of retrieving  it?
> 
> 
> 
The right way is to boot into single user mode. These will also work if
your account has sudo access

sudo su -

or

sudo /etc/shadow

and remove the root password, then login as root and reset the password

or

sudo passwd root

-- 
-- Steve


More information about the users mailing list