Results 1 to 2 of 2

Thread: Change a Root Cpanel Password via SSH

  1. #1
    Registered User
    Join Date
    Feb 2010
    Location
    Leitrim, Ireland
    Posts
    1

    Default Change a Root Cpanel Password via SSH

    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.

  2. #2
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,554
    cPanel/WHM Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by reverbstudios View Post
    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.
    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

Similar Threads

  1. Invalid root password and without ssh access
    By gnoccentral in forum General Discussion
    Replies: 4
    Last Post: 01-05-2014, 10:03 AM
  2. cPanel DNSOnly root password change
    By DurkaDurak in forum Bind / DNS / Nameserver Issues
    Replies: 1
    Last Post: 10-13-2011, 12:14 PM
  3. Replies: 1
    Last Post: 01-12-2011, 11:53 AM
  4. Replies: 2
    Last Post: 11-24-2009, 09:16 AM
  5. SSH Password disabled only for root account?
    By tomfra in forum General Discussion
    Replies: 1
    Last Post: 01-21-2007, 03:12 AM
bargain