Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Change a Root Cpanel Password via SSH

Discussion in 'Security' started by reverbstudios, Feb 16, 2010.

  1. reverbstudios

    reverbstudios Registered

    Joined:
    Feb 16, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    Leitrim, Ireland
    I've been told I need to do this as the normal function to do it in cpanel doesn't seem to work for some reason. I've no idea what the command might be and can't seem to find any info. I'm using Putty.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,554
    Likes Received:
    9
    Trophy Points:
    168
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    The following command may be used to set or change a password via SSH access:
    Code:
    # passwd
    For usage information please reference the official manual "man" page and help information by using the following commands:
    Code:
    # man passwd
    # passwd --help
    To help diagnose and troubleshoot the difficulty, please let us know the following information, (numbered for clarity):
    1.) What is the full cPanel version and build number of the system where there is difficulty changing the root password?
    2.) Was root access to WHM used to attempt the password change or was a different method used?
    3.) What testing method and steps were used to determine if the password change was successful or if it failed?

    To obtain the full cPanel version and build number may be obtained using the following command via SSH access:
    Code:
    # cat /usr/local/cpanel/version && echo
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice