Restore admin privileges for a single account

aladygin

Verified User
Joined
Mar 26, 2022
Messages
5
Unfortunately, when I wanted to configure test CageFS for the user, I assigned only one feature-set to the user and lost access to the admin settings.
How can I restore all privileges for my administrator via ssh?
 
I'm not an expert, but my guess would be:

Code:
/usr/local/directadmin/scripts/fix_da_user.sh
or
Code:
/usr/local/directadmin/scripts/set_permissions.sh
 

You cannot execute that command​

The request you've made cannot be executed because it does not exist in your authority level
I had this error.
I set my test created User Package to admin with only Core functions enabled ?

So I needed to edit
Code:
/usr/local/directadmin/data/users/admin/user.conf
and comment feature_sets
Everything reappeared.

Is there somewhere a complete documented list of all available CMD privileges?
I need to create competent custom user roles
 
Back
Top