The request you've made cannot be executed because it does not exist in your authority level


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » DirectAdmin

The request you've made cannot be executed because it does not exist in your authority levelLast Modified: May 21, 2020, 1:48 pm
When using DirectAdmin, if you ever hit this error:


You cannot execute that command
The request you've made cannot be executed because it does not exist in your authority level

it would be because the request CMD call is not available to you.  There could be various reasons for this.  Below we'll outline the possible causes and debug methods needed to resolve it.
  1. Logged in as different account

    DirectAdmin uses session for browser-based authentication.   This uses a session cookie which spans across all tabs/instances of a given browser.   If you have 2+ tabs open, and login as a less privileged account in tab B (eg: a User), then the other tabs (tab A) would also be logged in as this account, even if their page has not been updated.   Making an action in tab A where you may have a link available, may no longer work as the session is now privileged to a lower/different account.   Hit F5 on tab A to confirm you're seeing what you are allowed to see.
  2. commands.allow/deny

    DirectAdmin supports lists that allow or deny commands that might otherwise be available to an account.   Various ways to affect these lists include:
    1. Per-User commands.allow/deny lists
    2. Global never_commands
    3. Feature Sets

Debugging Why

To get to the bottom of the "why" of the error, if needed, you can use DirectAdmin "USR_DEBUG", exactly level 703 (not higher, not lower), eg:

cd /usr/local/directadmin
service directadmin stop
./directadmin b703

and then make the given request which triggers the error. We'd be looking for output relating to either function call

User::isAllowedToExecute
User::deny_override

which do the controlling of these functions.
Use ctrl-c to exit debug mode, and run

service directadmin start

to get DA up again.

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST