Global: never_commands

Version 1.561

Feature
Finished

New internal directadmin.conf setting: never_commands=(NULL) being fully unset to anything. The feature allows you to add any CMD_ to this variable, colon separated, so it can never be used on this DirectAdmin server. For example, if you want to fully prevent the creation of any new Admin account, you can add this to the directadmin.conf: never_commands=CMD_ACCOUNT_ADMIN:CMD_API_ACCOUNT_ADMIN in the directadmin.conf. This is similar to the per-user commands.allow and commands.deny files, which could do this same thing for this example.. However, the feature is global, so it would apply to all accounts, and saves needing to setup the commands.deny multiple times.

Interested to try DirectAdmin? Get a 30-day Free Trial!