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

Why does pure-ftpwho require root permissions to run, if you run it without it you get,

You must be root to run this. Sorry.

However, /usr/bin/who can run fine without root?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

From the pure-FTPd FAQ

How do I give access to the 'pure-ftpwho' command to non-root users?

The 'pure-ftpwho' command is restricted to root by default, because users probably shouldn't be given the ability to spy what other users are doing on the same host. However, it's safe to put the setuid bit on that command, in order to have it work as any user:

sudo chmod 4711 /usr/sbin/pure-ftpwho
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.