Control Web Panel

Security => CSF Firewall => Topic started by: MarkE on April 02, 2017, 09:14:42 PM

Title: Editor in CWP for /etc/csf/csf.pignore ?
Post by: MarkE on April 02, 2017, 09:14:42 PM
I can't seem to find an editor for the /etc/csf/csf.pignore file in CWP.  Most other config files can be directly edited through CWP, but couldn't find that.  Am I missing something?
Title: Re: Editor in CWP for /etc/csf/csf.pignore ?
Post by: irwanto on May 27, 2017, 11:17:25 PM
make sure csf lfd installed

you can manuall create vi /etc/csf/csf.pignore
contain like :
exe:/usr/sbin/mysqld
Title: Re: Editor in CWP for /etc/csf/csf.pignore ?
Post by: zenben on November 22, 2018, 08:16:15 AM
Well …
"/etc/csf/csf.pignore" is not needed very often, so I guess there is no link in the menu for it.

BUT
You can edit any file on the server with the "?module=file_editor&file=" module!
Just put the following into your addressbar »
https://YOURSERVERIP:2031/admin/index.php?module=file_editor&file=/etc/csf/csf.pignore

(YOURSERVERIP is replaced with your servers IP address obviously! ^^)

And then just make a bookmark in your browser  ;)