docker-pure-ftpd icon indicating copy to clipboard operation
docker-pure-ftpd copied to clipboard

How can I display the list of users?

Open cottonthread opened this issue 5 years ago • 2 comments

Thank you very much for your work @stilliard 👍 , now managing multiple users for my VPS server is easier than ever.

As you put in your Readme, to know more functionalities about Pure-FTP is better to go to https://download.pureftpd.org/pure-ftpd/doc/README.Virtual-Users, and there, I learned that to list all the users created, you can use the following command: pure-pw list -f /etc/pure-ftpd/passwd/pureftpd.passwd -m But unfortunately I can't do it, not even outside the Docker and inside it. When I do it, I just don't get anything.

docker-compose exec -T ftp pure-pw list -f /etc/pure-ftpd/passwd/pureftpd.passwd -m
pure-pw list -f /etc/pure-ftpd/passwd/pureftpd.passwd -m

If I do cat /etc/pure-ftpd/passwd/pureftpd.passwd, I can see them.

Miraculously, when I enter an apparently ERRONEOUS command like:

docker-compose exec -T ftp pure-pw list TEST -f /etc/pure-ftpd/passwd/pureftpd.passwd
pure-pw list TEST -f /etc/pure-ftpd/passwd/pureftpd.passwd

Then I do get the list!

Could that mean I've done something wrong?

Thank you in advance!

cottonthread avatar Aug 06 '20 19:08 cottonthread

Hi @cottonthread That's awesome! Glad it's been useful for you.

Wow that's pretty weird about that command, if it helps I'm seeing the same for my local version atm too so I don't think you've done anything wrong.

Might be one to ask on stackoverflow maybe? Alternatively at least for now you have a work around by adding a word after list in the command.

stilliard avatar Aug 10 '20 23:08 stilliard

I am very grateful for the help of @EthraZa , but it seems that this functionality is not yet available in #143 , right?

cottonthread avatar Sep 27 '20 20:09 cottonthread