• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

plesk 11 and vhostmng missing

Mickael Salfati

Regular Pleskian
Hi IgorG and parallels Team,

on plesk 11, is there an another alternative to set again properly all permissions on a vhost and his subdomains ?

Mickaël.
 
Try to use following script:
Code:
# mysql -Ns -uadmin -p`cat /etc/psa/.psa.shadow` -Dpsa -Nse "select  s.login,h.www_root from domains d, hosting h, sys_users s where s.id=h.sys_user_id and h.dom_id=d.id"| grep [B]domain.com[/B] | while read usr path; do chown -R $usr:psacln $path ; chown -R root:root $path/plesk-stat; chown $usr:psaserv $path; done

where domain.com is name of vhost. Let me know if it helps.
 
Re

IgorG,

Thank you. It's my actual solution ;) But we have to catch others directories anon_ftp, cgi-bin, conf, error_docs etc.
So I'm wondering if a plesk tool (like vhostmng) it was not more secure for end customers.

Mickael.
 
Back
Top