If you're using CSF ( ConfigServer Security & Firewall) on your DirectAdmin server, you can allow one or more of your resellers to use a selected subset of its functions.
To enable access to CSF for a single reseller:
- log in to your DirectAdmin server as admin
- access the CSF plugin interface
- click the Edit Reseller Privs button
Doing so, you'll be able to edit the /etc/csf/csf.resellers file
You should list each reseller account, one per line, followed by a colon, then:
- a 0 or 1 depending on whether you want an email alert sent using the email template reselleralter.txt whenever an ALLOW/DENY or UNBLOCK is performed
- then a colon,
- then a comma-separated list of the feature codes that you want each reseller to have access to.
As of writing, the following is a list of the available feature codes. (More may be added in the future):
USE – The reseller can use this facility through DirectAdmin (required)
UNBLOCK – The reseller can use the Quick Unblock feature
GREP – The reseller can use the Search IP feature
ALLOW – The reseller can use the Quick Allow feature
DENY – The reseller can use the Quick Deny feature
For example, to allow reseller “someuser” to unblock IP addresses and have an alert email sent to root, use:
someuser:1:USE,UNBLOCK
For example, to allow reseller “someuser” to allow, deny and unblock IP addresses, but no alert sent, use:
someuser:0:USE,ALLOW,DENY,UNBLOCK