Question
How to create additional Plesk administrator accounts with fewer permissions on Plesk for Linux via CLI?
Answer
-
Connect to the server via SSH
-
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 [email protected] -enable_admin_restrictions true
-
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
-