• 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/

Bulk permission change

vincenzot

Regular Pleskian
Hello,

how I can do an bulk permission change into account plesk?

I have need to activate "multi ftp account" for customers, but I have about 200 customers in the server and I don't want do it manually, exist any kinds of command for do it directly on mysql?
 
You can use some script with selection from database and Plesk CLI utility. For example:

for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e "select name from domains"`; do /usr/local/psa/bin/domain_pref -u $i -manage_subftp=true; done

note that it is just template. Modify it according to your purposes.
 
Back
Top