![]() |
|
|
|||||||
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member (25+)
Thread Starter
Join Date: Aug 2006
Posts: 28
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 0
![]() |
Single User Mode in Suse Linux 10.1 - Reset root Password?
hI FRIENDS
How to enter Single user mode in linux using GRUB and LILO I read in a book that when the boot menu appears one has to select the linux os and type E and hit enter to get the command prompt where root password can be changed But when i tried this in suse 10.1 [grub boot loader] i didnt get the command prompt it directlly entered guI Can any one tell me the way to enter single user mode in linux in detail BYeeeeeeeeeee |
|
|
|
|
|
#2 | |||
|
Webmaster
![]() Join Date: Nov 2005
Location: Interwebs
Posts: 4,950
Thanks: 613
Thanked 721 Times in 605 Posts
Mood:
Blog Entries: 6
Rep Power: 8990
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
So you followed the steps to rest the password correctly. Let me make sure once more.
1. At the GRUB boot menu select the linux option and press 'e' . 2. Choose your kernal and press 'e' once more. 3. Here in the Edit mode add the following to the end of the line leaving a space. Quote:
Quote:
5. This will make you the "root" user without asking for a password. Once the system has booted, you can change the root password using the password command in the command prompt: Quote:
|
|||
|
|
|
|
|
#3 | |||||
|
Webmaster
![]() Join Date: Nov 2005
Location: Interwebs
Posts: 4,950
Thanks: 613
Thanked 721 Times in 605 Posts
Mood:
Blog Entries: 6
Rep Power: 8990
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Reset Root Password - Another Complex & Risky Method
If the easy method doesn't work on your machine, another way to solve the "lost root password" problem is to boot your computer from your Linux Installation CD, or from a live-CD such as Knoppix. Using Knoppix, boot the live-CD then go to a terminal and su to root (no password is required) then issue the following commands (be sure to replace each /hda1 with your own root partition device): Quote:
Various information about root and user accounts is kept in this plain-text file but we are only concerned with the password portion. For example, the / etc/shadow entry for the "root" account may look something like this: root:$1$aB7mx0Licb$CTbs2RQrfPHkz5Vna0.fnz8H68tB.:10852:0:99999:7::: Now, using your favorite editor delete the password hash. For this example, the actual password is in red text and is all those characters between the 1st and 2nd colons. Quote:
After you've edited this field, it should look like this: Quote:
Now save the file and change back to the root directory and unmount the system root partition (don't forget to change the /hda1) as follows: Quote:
Once the computer has booted and you're at the login prompt, type "root" and when asked for the password just press ENTER (entering no password). After a successful login, you need to set the new password for root using the following command: Quote:
|
|||||
|
|
|
|
|
#4 |
|
Trusted Member
Join Date: Nov 2005
Location: Cochin
Age: 63
Posts: 63
Thanks: 11
Thanked 3 Times in 3 Posts
Rep Power: 309
![]() ![]() ![]() |
Use rescue disk to enter single user mode
|
|
|
|
|
|
#6 |
|
Webmaster
![]() Join Date: Nov 2005
Location: Interwebs
Posts: 4,950
Thanks: 613
Thanked 721 Times in 605 Posts
Mood:
Blog Entries: 6
Rep Power: 8990
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Here is a working and tested solution for Suse Linux 10.1
http://www.techtalkz.com/tips-n-tric...html#post10200 |
|
|
|
|
|
#7 |
|
Newbie
Join Date: Jan 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
![]()
|
Re: Single User Mode in Suse Linux 10.1 - Reset root Password?
Hello all,
When I try the command #mount -o remount,rw / it was executed successfully but when I type passwd it is throwing me an error message “passwd: user not known to the underlying authentication module” Please guide me on what to do next. Regards, Blue |
|
|
|
|
|
#8 | |||
|
Newbie
Join Date: Dec 2012
Location: Earth
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Mood:
Rep Power: 0
![]()
|
Re: Single User Mode in Suse Linux 10.1 - Reset root Password?
Of course if you are using some old SuSE versions like 9, then when you boot with the
Quote:
Then you need only type Quote:
Then type Quote:
if that doesn't work use Strider's second choice and again, no password is needed at the X login for root. Have FUN with it! |
|||
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Reset Root Password in SUSE Linux 10.1 and other Distributions | Strider | TIPS 'n' TRICKS | 5 | 30-10-2009 11:41 AM |
| SUSE Linux & Linksys WLAN problem | 'Nel' | Suse Linux | 1 | 01-09-2007 04:01 PM |
| How To Use alt.os.linux.suse Group Function To Start A Volunteer Project | davidinvestworld | Suse Linux | 0 | 29-08-2007 02:04 PM |
| Error 1083 and 1955 - Single user object - write conflict and user lockout | alivedata | Windows Server 2003 | 0 | 28-08-2007 01:05 AM |
| HOW TO RESET UR ROOT PASSWORD IN LINUX ! | Strider | Open Source & Linux | 2 | 07-04-2006 06:00 PM |
< Home - Windows Help - MS Office Help - Hardware Support >
| New To Site? | Need Help? |