Re: [Proftpd-user] ftpdctl ban user is not permanent

Matus UHLAR - fantomas <[email protected]>
Newsgroups gmane.network.proftpd.user
Message-ID <[email protected]>
On 29.10.19 14:07, David Mathog wrote:
>This CentOS 7 system can ban ftp users by name with:
>
>  ftpdctl ban user USERNAME
>
>but it does not survive a stop/start cycle of proftpd.  Command was 
>run as "root".  Documentation suggests that the command should be 
>modifying /etc/proftpd.conf but it does not.
>
>How does one make this change permanent?

http://www.proftpd.org/docs/contrib/mod_ban.html#FAQ

Question: Why does mod_ban not store ban data across daemon stop/starts?
Answer: 
The mod_ban module was not designed to add yet another ACL mechanism to
proftpd.  For persistent access control, there is the <Limit LOGIN> section,
the mod_wrap module, the /etc/ftpusers file, and various other mechanisms. 
The purpose of mod_ban is to provide dynamic, short-lived bans.

I believe this answers your question

-- 
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
   One OS to rule them all, One OS to find them,
One OS to bring them all and into darkness bind them


_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.