I forgot my root password how do i get reset super user fortgotten linux password

RegisterLogin
I forgot my root password how do i get reset super user fortgotten linux password
Post Description: I forgot my root password how do i get reset super user fortgotten linux password
Tags: I, forgot, my, root, password, how, do, i, get, reset, super, user, fortgotten, linux, password
This Post Was Posted On Feb 29, 2008 By piwi_geek #832
ok, i am so dumb. i can't beleive i lost my root password and i have no idea how to get it back. is there a way to reset the super user password to login back again and retrieve it form the system so i don't have to reinstall the os and loose everything in my server.
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
alang
#9369 1
This works for me.

Take a live distro CD - such as Debian Live:

Open a terminal window.
Code:
/mnt/hdxx (your hard drive - and your partition)

then do
Code:
chroot /mnt/hdxx

and finally run
Code:
passwd
Jan 16, 2012 Reply Report abuse
©2012 Webune Forums - Wed Jan 18, 2012 4:03 pm
Powered by: Webune Forums V3