I'm trying to restrict some features for Evolution skin using feature_sets. I want all features to be enabled except several that I list in commands.deny
According to https://www.directadmin.com/features.php?id=2199 :
So I've created the only file in new folder "my_set" with the following content (for testing purposes):
And in /root/d/users/username/user.conf I've added this value:
However, ticket create function is still working.
I achieve what I want if I create commands.deny file in users folder /usr/local/directadmin/data/users/username/commands.deny but it means that if I want to change something for like 100 users in the same server, I will have to edit 100 files instead of one /usr/local/directadmin/data/templates/feature_sets/my_set/commands.deny
If I use these values ( feature_sets=core_functions:email_only:my_set ), I cannot do almost anything (including all things with domains) but ticket creation still works.
What is the correct way to allow everything instead of listed (denied) features?
According to https://www.directadmin.com/features.php?id=2199 :
if you have commands in command.deny, but commands.allow is not set at all, then all commands are allowed, except the values in commands.deny.
So I've created the only file in new folder "my_set" with the following content (for testing purposes):
Code:
# cat /usr/local/directadmin/data/templates/feature_sets/my_set/commands.deny
CMD_TICKET_CREATE
And in /root/d/users/username/user.conf I've added this value:
Code:
feature_sets=my_set
However, ticket create function is still working.
I achieve what I want if I create commands.deny file in users folder /usr/local/directadmin/data/users/username/commands.deny but it means that if I want to change something for like 100 users in the same server, I will have to edit 100 files instead of one /usr/local/directadmin/data/templates/feature_sets/my_set/commands.deny
If I use these values ( feature_sets=core_functions:email_only:my_set ), I cannot do almost anything (including all things with domains) but ticket creation still works.
What is the correct way to allow everything instead of listed (denied) features?