I need to block a single specific user (my primary user) from logging onto ProFTPd. I have an alternate account, without a valid shell, which I use for ftp purposes. I've tried searching Google, but all I can find are threads of people trying to do the opposite (account can't log on for some reason, trying to fix it). Any unix admins out there know how to prevent certain users or groups from connecting? Thanks in advance.
That did it, but it's DenyUser and I was reminded through trial and error that the username needs to be lowercase. Thanks!
Glad to have helped. I always use ProFTPD when doing FTP servers. Great Program. I would also suggest picking up a security app for your IPtables like Denyhosts or Fail2Ban. It will save you a lot of headaches when you come under attack. (esp if you have a standard port open like SSH, I had over 90,000 lines of attacks logged a day!)
I'm always looking to increase my server's security. I'll do some independent research, but which would you recommend to an intermediate user?
It looks as though Fail2ban is a lot more flexible, as it can be setup to monitor many different logs.