Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Kinda newbie here,

I have a server which uses vsftpd. I changed the password of user 'aa' from the root account with 'passwd aa', which changed the SSH password for user 'aa', but not for his FTP account.

I can't seem to find much other info on changing a vsftpd password.

Any tips?

share|improve this question
Look at what authentication method vsftpd is using, DB, or config files maybe? – NickW May 28 '13 at 13:15
Are you using a management panel like Webmin, cPanel or Plesk? Many of these do not create system users but have users specific to FTP. – jeffatrackaid May 28 '13 at 15:07
I tried that Nick, all I can find is some files in /etc/vsftpd/. there are some useraccount files there, but no passwords. and no management panels jeff. – Flion Jun 8 '13 at 7:39

If your FTP server is using virtual users (check local_enable in the /etc/vsftpd.conf file, see man vsftpd.conf), you may have a login.txt file under /etc/vsftpd/, which is of the following form :


In this case you have to edit it, then use the following command to update the DB :

db4.7_load -T -t hash -f /etc/vsftpd/login.txt /etc/vsftpd/login.db

(you may have to replace db4.7_load by your version of dbXX_load).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.