1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

I lost my WHM password (root)..how do I retrieve it?

Discussion in 'General Discussion' started by dwh2, Jul 6, 2007.

  1. dwh2

    dwh2 Member

    Joined:
    Jan 14, 2004
    Messages:
    106
    Likes Received:
    0
    Trophy Points:
    16
    I can SSH in..and usually my cookie remembers it, but the cookie forgot the password and so have I...
     
  2. dwh2

    dwh2 Member

    Joined:
    Jan 14, 2004
    Messages:
    106
    Likes Received:
    0
    Trophy Points:
    16
    Or is the WHM root password the same as root password on the system?
    Because I know that...and it works for SSH...but not for WHM...
     
  3. dwh2

    dwh2 Member

    Joined:
    Jan 14, 2004
    Messages:
    106
    Likes Received:
    0
    Trophy Points:
    16
    Never mind. Got it ;)
    tx.
     
  4. Kailash1

    Kailash1 Member

    Joined:
    Nov 27, 2006
    Messages:
    234
    Likes Received:
    2
    Trophy Points:
    18
    How can we reset the root password in case if we forget it?

    Thanks,

    Kailash
     
  5. bking

    bking Member

    Joined:
    Mar 1, 2004
    Messages:
    211
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney
    Log in as a user that has full sudo access...

    # sudo su -
    # passwd

    Otherwise, boot into single user mode and change the password...

    OR

    another option, use a recovery CD/Disk. Boot using this. Mount the filesystem that /etc resides. Edit the /etc/shadow file with a generated passwd from an alternate machine. umount the filesystem, reboot and voila you should have root with a new password.
     
  6. verdon

    verdon Member

    Joined:
    Nov 1, 2003
    Messages:
    793
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Northern Ontario, Canada
    In many cases, when you don't have a user with su ability, and you're no where near the physical machine, you're going to have to get the data centre to do this for you. In the end, it's a pretty important word to forget and it's not supposed to be trivial to reset.
     

Share This Page