0% found this document useful (0 votes)
132 views2 pages

Reset Root Password in OEL 5.5

1) Restart the Linux machine and enter single user mode at the GRUB boot loader menu by pressing spacebar to add "single" after the kernel arguments. 2) At the shell prompt, type "passwd root" to change the root password. Enter a new password and retype for verification. 3) Restart the machine with the "init 6" command.

Uploaded by

wcastro8182
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
132 views2 pages

Reset Root Password in OEL 5.5

1) Restart the Linux machine and enter single user mode at the GRUB boot loader menu by pressing spacebar to add "single" after the kernel arguments. 2) At the shell prompt, type "passwd root" to change the root password. Enter a new password and retype for verification. 3) Restart the machine with the "init 6" command.

Uploaded by

wcastro8182
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

1

Author – A.Kishore/Sachin
http://appsdba.info

Step By Step Instructions to reset root password in OEL 5.5

This document describes the steps to reset root password in Linux OEL 5.5 ,if we forget the
root password.

Step 1 : Restart Linux Machine


Following screen will appear with a prompt that looks similar to the following:

If we use the default boot loader, GRUB, we can enter single user mode. To do so, at
the boot loader menu, use the arrow keys to highlight the installation we want to
edit and type [a] to enter into append mode.

Step 2 : Press the Spacebar once to add a blank space, and then add the word single
to tell GRUB to boot into single-user Linux mode. The result should look like
the following:

Grub append> ro root=LABEL=/ rhgb quiet / single


2

Author – A.Kishore/Sachin
http://appsdba.info

Press [Enter] and GRUB will boot single-user Linux mode. After it finishes
loading, you will be presented with a shell prompt similar to the following:

sh-3.2#

Step 3 : We can now change the root password by typing the below command

passwd root

We will be asked to re-type the password for verification. Once it is finished, the
password will be changed.

Now we can restart the machine by typing init 6, this command will restart
immediately

You might also like