• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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