Plesk

How to create additional Plesk administrator accounts with fewer permissions on Plesk for Linux via CLI?

Question

How to create additional Plesk administrator accounts with fewer permissions on Plesk for Linux via CLI?

Answer

  1. Connect to the server via SSH

  2. Create an additional Plesk administrator account with Restricted Mode / Custom View enabled (Check Official Plesk documentation for more details):

    # plesk bin admin_alias --create aliasadmin -passwd password -contact "Additional Admin" -email noreply@example.com -enable_admin_restrictions true

  3. Customize the restrictions to the Plesk administrators by editing the Restricted Mode / Custom View settings. Here some examples, check Plesk Obsidian Documentation - Administrator Panel Preferences for more:

    • Prohibits adjusting Plesk firewall settings in Restricted Mode / Custom View:

      # plesk bin admin --update -manage_server_firewall true

    • Prohibits performing backups in Restricted Mode / Custom View:

      # plesk bin admin --update -manage_server_backup false

    • Allows managing subdomains in Restricted Mode / Custom View:

      # plesk bin admin --update -manage_subdomains true