Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm using vsftpd. Now I would like to now if - and if, who - someone is currently connected to the server.

Is it possible to find out, if anybody is connected, how many and even who is connected?

share|improve this question

1 Answer 1

You should set setproctitle_enable to YES in your vsftpd.conf. From man 5 vsftpd.conf:

setproctitle_enable
If enabled, vsftpd will try and show session status information in the system process listing. In other words, the reported name of the process will change to reflect what a vsftpd session is doing (idle, downloading etc). You probably want to leave this off for security purposes.

Now you can do a ps axuw | grep vsftp (or whatever you like) and see connected users.

share|improve this answer

Your Answer

 
discard

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.