• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Disable ssh system access on all domains

VictorA

New Pleskian
Hi,

I need to disable system access on all domains of my server (+300). Is there any way to run a command from Plesk database to do it?.

something like:

update dom_param set val = 'true' where param = '';
 
Victor,

You can find shell for all domains with

select shell from sys_users where id in (select sys_user_id from hosting);
And update with '/bin/false' in sys_users table.
 
Back
Top