Tip Details Add a Related Tip

Rate as: Positive Negative

Resetting the root password in Linux

If you lose your root password on a Linux, it can be easily reset. To reset the password, you need to reboot your machine into single-user mode (the details on how to do this vary greatly based on your Linux distribution, so Google for "single-user mode boot" along with the name of your distribution, Fedora 9, Ubuntu, etc).

Once you boot in single user mode you'll see a lot of stuff flashing up on the screen. Ignore it. Eventually it'll stop and you get a terminal command line prompt.

You can then run the passwd command. It'll ask you to enter a new root password and confirm it. Once the passwd command is run you can reboot your machine and the root password will be reset.
Rating: 0% positive, 1 Vote
Categories: Linux password root
Added: on Feb 26, 2009 at 1:01 pm
Added By: an anonymous user
Searches: password root linux mode reset

Comments on this Tip

Add a Comment
this can cause serious security problems.
– Added by an anonymous user on Aug 01, 2009 at 1:15 am
Your Comment:
(how to format)
Rate This Tip:

Verify Humanity:
Sorry, we know it's annoying, but please enter the characters shown in the image to the left so that we know you're an actual person and not an evil spammer. Thanks.
       

Related Tips

Hack Passwords Using USB Drive

83% positive, 1 comment - last added on Aug 29, 2009 at 6:12 am
– Tip added by an anonymous user on Jun 04, 2009 at 1:02 pm

Hacking Windows Using Linux

85% positive, 0 comments
– Tip added by an anonymous user on Jun 08, 2009 at 12:03 pm

How to execute chm files in linux

Categories: linux chm files hacks tricks
88% positive, 0 comments
– Tip added by an anonymous user on Jun 29, 2009 at 7:02 am

20 Free Operating Systems that are not Windows

85% positive, 0 comments
– Tip added by an anonymous user on Jul 05, 2009 at 8:47 am

MP3 support in Fedora 10

Categories: Linux Fedora mp3 music yum
85% positive, 2 comments - last added on Jan 04, 2009 at 11:11 am
– Tip added by an anonymous user on Dec 29, 2008 at 4:15 pm

Running Linux jobs even when disconnected

Categories: Linux UNIX command line
100% positive, 1 comment - last added on Dec 24, 2008 at 1:14 pm
– Tip added by an anonymous user on Dec 22, 2008 at 2:21 pm

Show calendars on the UNIX command line

100% positive, 0 comments
– Tip added by an anonymous user on Jan 20, 2009 at 4:45 pm

Faster Fedora updates

Categories: Fedora linux update speed
100% positive, 0 comments
– Tip added by an anonymous user on Dec 10, 2008 at 9:58 am

Transform Linux to Windows 7

100% positive, 0 comments
– Tip added by an anonymous user on Jul 23, 2009 at 10:56 am

listing files on a single line

Categories: linux Unix command line
100% positive, 0 comments
– Tip added by an anonymous user on Feb 19, 2009 at 8:03 am

Synch your iPod with Songbird

100% positive, 0 comments
– Tip added by an anonymous user on Dec 18, 2008 at 4:25 pm

Read diffs easier

Categories: UNIX linux CVS command line
100% positive, 0 comments
– Tip added by an anonymous user on Dec 12, 2008 at 2:10 pm

Running background jobs

Categories: linux UNIX
100% positive, 0 comments
– Tip added by an anonymous user on Dec 04, 2008 at 10:04 am

Custom keyboard shortcuts in Gnome

100% positive, 0 comments
– Tip added by an anonymous user on Nov 05, 2008 at 9:52 am

Manage your battery in linux

no ratings, 0 comments
– Tip added by an anonymous user on Sep 03, 2009 at 1:29 pm

Finding files older than a certain time on Linux

Categories: Linux find UNIX
no ratings, 0 comments
– Tip added by an anonymous user on Jul 27, 2009 at 1:47 pm

Random Password Script

no ratings, 0 comments
– Tip added by an anonymous user on Mar 16, 2009 at 9:19 am

Taking screen shots in Linux

Categories: linux screenshots free
no ratings, 0 comments
– Tip added by an anonymous user on Nov 25, 2008 at 8:45 pm

Install Debian on a G1 phone

no ratings, 0 comments
– Tip added by an anonymous user on Nov 13, 2008 at 3:48 pm

Photobooth for Linux

no ratings, 0 comments
– Tip added by an anonymous user on Nov 07, 2008 at 11:34 am