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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I display the list of users? #140

Open
cottonthread opened this issue Aug 6, 2020 · 2 comments
Open

How can I display the list of users? #140

cottonthread opened this issue Aug 6, 2020 · 2 comments
Labels

Comments

@cottonthread
Copy link

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!

@stilliard
Copy link
Owner

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.

@cottonthread
Copy link
Author

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

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

No branches or pull requests

2 participants