LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-30-2010, 04:31 AM   #1
aarsh
Member
 
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 :-

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

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

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
See the following link!
http://www.cyberciti.biz/faq/linux-r...root-password/
 
1 members found this post helpful.
Old 04-30-2010, 05: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, 08:16 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by aarsh View Post
The following didn't worked :-
Restart
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.
  


Reply


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 05:11 AM
how to reset root password bsisol Linux - Server 1 01-15-2007 07:10 PM
reset root password powah Linux - Security 5 09-15-2006 02:30 PM
reset root password kapslock Debian 14 07-27-2006 08:08 AM
Reset Root password sdsouza Linux - Software 5 11-12-2003 05:50 PM


All times are GMT -5. The time now is 04:23 PM.

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