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!

Scurity questions

Discussion in 'General Discussion' started by rip_curl, Feb 27, 2006.

  1. rip_curl

    rip_curl Well-Known Member

    Jan 30, 2005
    Likes Received:
    Trophy Points:
    If i don't know the password of cpanel, but I have saved password in my FTP-client.
    can I change password via FTP?

    My customers often say me that somebody changed their password. Root password nobody knows (I change every time). but in customer's home directories I see files - ftp-managers.
    #1 rip_curl, Feb 27, 2006
    Last edited: Feb 27, 2006
  2. dave9000

    dave9000 Well-Known Member

    Apr 7, 2003
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    It is possible to change passwords in cpanel with ftp as long as you can login as root with ftp/sftp. However this is one of those tasks that if you have to ask how to do it then you probably do not have the necessary *nix skills to do it correctly and if you do it incorrectly you can lock yourself and all clients out of the server.

    the file you will want to modify is the /etc/shadow file and you will have to generate either a salted md5 hash of the password or a salted crypt hash and put this in the proper UID line in the /etc/shadow file

    If you decide to try this do it at your own risk

    mileage may vary :D
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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