WebHosting

Tuesday, January 29, 2013

Reset root password in Linux

1. Reboot the system

2. Press any key while your linux box boot up, it will bring you the the Grub loader
There will be image name, select that

3. Press 'e'

4. It will enter into grub boot screen

5. It will be containing following list

  • · Image name
  • · Kernel Version
  • · MBR

6. Select Kernel line and press 'e' it will take you to edit mode

7. Put your curser to the last of the resulting line and type (single/1/s)

8. Save it

9. After saving it you will again to the step 5

10. Here you press ‘b’ this will boot up the system(by selecting the kernel version line)

11. This will take you to the single user mode

12. Then type ‘passwd’ it will not ask you the old password, will ask you to type new password,

13. Type the new password its done.

No comments:

Post a Comment

Thank you for Commenting Will reply soon ......

Featured Posts

เค•िเคธเค•े เคนिเคธ्เคธे เคฎें เคฎें เคฏे เคงเคฐเคคी

เคšिเคก़िเคฏों เค•ा เค˜เคฐ เคœเคฒ เคฐเคนा เคนै  เค‡ंเคธाเคจ เค–ुเคถ เคนै เค•ि เคฏे เค†เค— เคฆूเคฐ เคนै เค…เคญी เค•เคญी เคคो เค†เคเค—ी เค˜เคฐ เคคเค•  เคคेเคฐा เคญी เค˜เคฐ เคœเคฒेเค—ा เค•เคญी เคฌेเคœुเคฌाเคจ เคนै เค•ुเค› เคฌोเคฒเคคे เคจเคนीं เคนै เคฆिเคฒ เคฎें เคฆुเค– ...