proftpd password change

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.
or passwd username

Change Password:
1
ftpasswd --change-password --passwd --name=ftpuser01
Before you restart proftpd, you should make a syntax check:
1
proftpd -td5

Comments

Popular posts from this blog

how to install internet download manger in linux

premium url shortener

convert direct traffic to organic