Results 1 to 6 of 6

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

  1. #1
    Registered Member
    Join Date
    Jan 2004
    Posts
    106

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

    I can SSH in..and usually my cookie remembers it, but the cookie forgot the password and so have I...

  2. #2
    Registered Member
    Join Date
    Jan 2004
    Posts
    106

    Default

    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. #3
    Registered Member
    Join Date
    Jan 2004
    Posts
    106

    Default

    Never mind. Got it
    tx.

  4. #4
    Registered Member Kailash1's Avatar
    Join Date
    Nov 2006
    Posts
    233
    cPanel Access Level

    Root Administrator

    Default

    How can we reset the root password in case if we forget it?

    Thanks,

    Kailash
    Blog - Website/Server security

    Technical Support Forum

  5. #5
    Registered Member
    Join Date
    Mar 2004
    Location
    Sydney
    Posts
    211

    Default

    Quote Originally Posted by Kailash1 View Post
    How can we reset the root password in case if we forget it?

    Thanks,

    Kailash
    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. #6
    Registered Member verdon's Avatar
    Join Date
    Nov 2003
    Location
    Northern Ontario, Canada
    Posts
    792

    Default

    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.

Similar Threads

  1. How to retrieve WHM password ?
    By boksaa in forum General Discussion
    Replies: 2
    Last Post: 08-04-2014, 09:26 AM
  2. How to retrieve WHM password?
    By arazas in forum General Discussion
    Replies: 1
    Last Post: 02-06-2008, 10:12 AM
  3. Lost Password, How to Retrieve?
    By Daemon1 in forum General Discussion
    Replies: 5
    Last Post: 03-10-2004, 02:22 AM
  4. URGENT - lost FTP password for customer, root password not w
    By RandyL712 in forum General Discussion
    Replies: 6
    Last Post: 09-20-2002, 12:42 PM
bargain