• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved How can I list FTP users on the machine and change a password?

akira9000

Basic Pleskian
Hi,

I need to get back into an FTP account that customer has no record of. Plesk is down so has to be SSH. How can I do this? I'm guessing the process is something obvious like 1.list users 2. change password for specific user?

I'm on CentOS 7.4
 
Last edited:
Passwords are crypted in Plesk database. But you can get list of ftp users and crypted passwords with something like:

Code:
# plesk db
MariaDB [psa]> SELECT REPLACE(sys_users.home,'/var/www/vhosts//','') AS domain, sys_users.login,accounts.password FROM sys_users LEFT JOIN accounts on sys_users.account_id=accounts.id ORDER BY sys_users.home ASC;
+------------------------------+-------+----------------------------------------------------------------+
| domain                       | login | password                                                       |
+------------------------------+-------+----------------------------------------------------------------+
| /var/www/vhosts/forbidden.sd | ib    | $AES-128-CBC$bNb1T0bBybgFhAkld4thEw==$3gcmtSVPmINbDt2V3xTZKw== |
| /var/www/vhosts/test.tld     | uzza  | $AES-128-CBC$00+89ujGj4+azMpP97O+cg==$vGSO1CwBauYRyybGkCLNdw== |
+------------------------------+-------+----------------------------------------------------------------+
2 rows in set (0.00 sec)

Password you can change with subscription utility - subscription: Subscriptions
 
Back
Top