The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Share This Page