Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-30-2010, 03:31 AM   #1
Registered: Mar 2010
Location: ATL, GA
Distribution: openSUSE 11.2 , salckware ,ubuntu
Posts: 169

Rep: Reputation: 18
Question How to reset the root password?

I am using openSUSE 11.1 and I've lost my root password.

The following didn't worked :-

give parameters " 1"
press e
press b ...

Any other way to reset it ?
Old 04-30-2010, 03:35 AM   #2
Senior Member
Registered: Dec 2008
Posts: 4,679
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
See the following link!
1 members found this post helpful.
Old 04-30-2010, 04:29 AM   #3
Andrew Benton
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Boot with a live cd, chroot into the partition on your hard drive then use passwd to reset the root password
Old 04-30-2010, 07:16 AM   #4
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Originally Posted by aarsh View Post
The following didn't worked :-
give parameters " 1"
press e
press b ...
What were you intending to do here? I looks like you tried to boot into single-user mode, but it is incomplete. (Where did you get this sequence?)

To boot single-user:
Reboot (Restart)
When the grub menu appears, hit any key to stop the count
Select the desired system and hit "e"
Select the kernel line, and "e" again
Add the word "single" at the end of the line (no quotes)
hit "enter" and then "b" to boot

Once you are in single-user mode, you can reset the root password
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password? Reghunath Linux - Software 4 05-08-2008 04:11 AM
how to reset root password bsisol Linux - Server 1 01-15-2007 06:10 PM
reset root password powah Linux - Security 5 09-15-2006 01:30 PM
reset root password kapslock Debian 14 07-27-2006 07:08 AM
Reset Root password sdsouza Linux - Software 5 11-12-2003 04:50 PM

All times are GMT -5. The time now is 06:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration