Cpanel user without being able to ftp (pure-ftp)
Posted on 2006-06-11
(Background: I've been a Linux sysadmin for years, but am new to Cpanel/WHM which this client requires).
I'm setting up a series of accounts through whm, which will need to have cpanel access (no file manager - easy enough to disable), and no ftp access (as there is a custom content manager on the server for these users).
The ftp server is pure-ftpd. How does one disable ftp access without deleting the account, or disabling access to cpanel?
It looks like pure-ftp under Cpanel runs using pure-auth, using a script called pureauth.
I looked at the script - and it seems to point to a file a called /etc/ftpusers as being a place where you can add usernames that won't be allowed to login.
However, even after creating this file, adding the user name to that file, and restarting the ftp server, this is not being obeyed... any ideas?