• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

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