Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change virtual user password? #57

Open
yoursh opened this issue Sep 22, 2020 · 3 comments
Open

How to change virtual user password? #57

yoursh opened this issue Sep 22, 2020 · 3 comments

Comments

@yoursh
Copy link

yoursh commented Sep 22, 2020

How to change virtual user password?

@dennsya
Copy link

dennsya commented Feb 2, 2021

docker exec -i -t vsftpd bash
vi /etc/vsftpd/virtual_users.txt
/usr/bin/db_load -T -t hash -f /etc/vsftpd/virtual_users.txt /etc/vsftpd/virtual_users.db
exit
docker restart vsftpd

@yoursh
Copy link
Author

yoursh commented Feb 2, 2021

How to view virtual users?
How to delete a virtual user?
thinks

@rafzei
Copy link

rafzei commented May 19, 2021

@yoursh To see entries stored in database: db_dump -d a /etc/vsftpd/virtual_users.db | grep len
To remove virtual user you have to delete entry from virtual_users.txt and recreate virtual_users.db using this command:
/usr/bin/db_load -T -t hash -f /etc/vsftpd/virtual_users.txt /etc/vsftpd/virtual_users.db

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants