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

 

Found this article interesting?
Subscribe to DomainRegister´s newsletter!

You can unsubscribe at any time by simply clicking the link in the footer of our emails. For information about our privacy practices, please visit our website.

We use Mailchimp as our marketing platform. By clicking below to subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp s privacy practices here.

  • DirectAdmin, CSF
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

 Understanding Dovecot POP Logs

POP log entries are something like: top=%t/%p, retr=%r/%b, del=%d/%m, size=%s where variables...

 How to Change the Skin from Enhanced to Evolution for All Users in DirectAdmin?

In DirectAdmin, if you want to change the default skin from the old Enhanced to the new Evolution...

 How to Recover MySQL Root Password in DirectAdmin

Root credentials for MySQL are stored in plain text in the file...