Unlocking root

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anurag275125
    New Member
    • Aug 2009
    • 79

    Unlocking root

    Hello,
    one day I unlock my root account with command passwd -l. Can anyone please tell me how to unlock the root.
    thanks
  • shabinesh
    New Member
    • Jan 2007
    • 61

    #2
    if you have locked your root account, while on booting, do the following
    1) select the distro name in the grub list
    2) type 'e' to edit
    3) select the line with kernel *
    4) type 'e' to edit again
    5) add a string 'single' or numeral 1 to end of string and type 'b'

    Now your system will boot in single user mode and will not ask password.

    it could have been better if you mentioned your distro.

    Comment

    Working...