How to change proftp FTP password from SSH shell

Today I have got a request from a client that has a server with no control panel on it to change one ftp password. Server is using proftpd as it’s ftp server. This is really easy task to do if proftp is setup by default and uses /etc/passwd for storing it’s passwords.

If you know username all you need to do is type in

passwd USERNAME

(replace USERNAME with actual username), enter new password two times and you’re done.

If you however don’t know the username (and that can happen too) you can open /etc/passwd file and try and locate it in there.

This post helped you out? Why not buy me a coffee?

Amount
Your message for me
Tags: proftpd change password, proftpd change user password, change proftpd password, proftpd password change, change ftp password proftpd, change password proftpd, proftpd default password
Chrome just would not launch
Mysqldump: Got error: 1016: Can’t open file (errno: 24) when using LOCK TABLES

Leave a Reply

Your email address will not be published / Required fields are marked *