Plesk Automation :: Reset Default Permissions In Virtual Host Directory
Jun 6, 2013How do we reset default permissions in virtual host directory in PPA.
I see some KB articles for Plesk Panel - but not sure we can use those.
How do we reset default permissions in virtual host directory in PPA.
I see some KB articles for Plesk Panel - but not sure we can use those.
How can a customer (or admin, for that matter) reset or recover a lost password to the control panel? We don't see an option for this in the current version of PPA.
View 4 Replies View Related run a command on /var/git to set rights and onwer without being cautious enough.I have run chown git:git .* -R which did not only run direction downwards the tree but upwards as well :-(
Any way to reset permissions and ownership for the directories back to standard?I tried /usr/local/psa/bin/repair already. Did lot of the fixes, but not all is in line yet.
I believe the product we are using is Parallels Operations Automation.
We have a customer that we want to be able to give the right to unlock user accounts. The only way to do this seems to be to enable "Billing" as one of the privileges. Unfortunately this gives them more access than we really want to. Is there some trick we can use to give this user only these rights?
I've installed the Plesk Panel onto a windows 2008 server. It's all good, web sites are flowing and I'm really happy with the software. The issue I'm having is a customer has an asp site with an access database. After I uploaded their site, they couldn't write to the database, so I had to manually go and set the permission on the database for the "Plesk IIS Anonymous Account (IUSR_xxx)" user to have modify access on the file.
So my question is this, how can I set up the default hosting account to already allow this and so I don't have to go an waste time tweaking the folders manually trying to find the right permissions?
Also, why is it the Plesk IIS Anonymous account that needed to have it's permissions tweaked and not the "Default Plesk application pool user (IWAM_plesk(default))" which is the user who's configured on the application pool in IIS? I can't see where the Plesk IIS Anon user is being used.
I'm not able to restrict the customer permission.
I want to prevent customer of creation new Webspaces , domains, subdomains and manage DNS records.
If I put zero in webspaces, the customer remains able to create a new webspace.
If I disable DNS management, he can creates a subdomain in DNS.
I tried to put zero in domains, subdomains, webspace, dns in subscription.
None of permissions combinations or subscription limit prevents him to create a new webspace, neither add subdomain an manage the dns records.
When a customer use the wordpress auto installation tool, all work ok.
But, when the customer try to install wordpress manually (Uploading by FTP), it returns different permissions errors.
Example: "wp-config.php" cant write .
I compared the permissions of both vhosts (WP-Auto-install and WP-Manually-Install), and have totally different permissions.
WP-Auto-installed : /httpdocs = 770
WP-Manually : /httpdocs = 750
How I can set permissions to 770 by default when create a vhost? to avoid the customer having to do it manually.
I have found through the KB the way to do it server wide but I was wondering if there was still a way to reset default domain permissions per domain.
/usr/local/psa/bin/repair --restore-vhosts-permissions - to restore all domain permissions.
Is it possible to set default value for 'Preferred domain' in domain hosting panel ?
For example we want for each new created domain + aliases to be redirected to www.domain.tld, so 'Preferred domain: www.domain.tld'
I uploaded the default skeleton files into the management ppa server at /var/www/vhosts/.skel/0/
But when I am creating a new subscription the skeleton is still the default plesk skeleton, something changed from ppa 11 to 11.5 ??
How do I change the default country from the United States to Canada in the new Customer setup page?
View 1 Replies View RelatedI am running Plesk 11.5.30 on CentOS and trying to change the default permissions of the /httpdocs folder and the skeleton site that is in .skel/0/httpdocs that appears when a domain is created. I have failed to find the event that I need to use to trigger the command.
#!/bin/bash
chmod -R g+rwx "/var/www/vhosts/${NEW_DOMAIN_NAME}/httpdocs"
Some research suggested using the 'physical hosting created' but there is no option for this in 11.5.30.
How to install a certificate for a brand ?
Let's say I have a brand B associate to a reseller R and a domain name domain.com.
When B sell a new subscription (with the associated webspace) it is available under sub.domain.com.
I would like to have a specific SSL certificate installed by default for every newly created webspaces by B under xxx.domain.co
One of the local hosting providers use Parallels Automation to serve IaaS to the customers.
I have cloud server on this Provider. And i ask the support team to decrease disk size for my server.
Support engineer deny my request because: "Unfortunately, for the 'Virtual Machine' virtualization type, it is impossible to decrease size of hard drive"....
I want to move the data directory to another partition on all nodes. Apache (vhost), IIS (vhost), MySQL (databases) and Postfix (mailbox content). What's the correct way to do this without breaking functionality of PPA?
View 5 Replies View RelatedI have a problem with my Parallels Plesk Panel (v 11.5.30) in CentOS 6.4.
When I try to send an email by RoundCube to an other email address with the same domain (that is hosted in my server) i get this error:
Error SMTP (550): ... "xxxxxx@mydomain.com" (5.1.1 <xxxxxx@mydomain.com>: Recipient address rejected: User unknown in virtual mailbox table)
I use Nas to manage the customer site folder.
So the folder directory will be "as1webhostxxx" this format
I found that plesk panel default directory is inetpubvhosts
How to move the Virtual Hosts Directory to Nas ?
How do I direct my httpd file to point to:
home/USER/public_html
instead of:
C:Users estetc...
I want to do this to make my test server just like the remote server.
Starting point: a working site using a shared IPv4, dedicated IPv6, and SSL. HTTP and HTTPS work, the latter only using SNI of course.
The good news: If I simply allocate an IP resource of 1 to a subscription it is pulled from the pool, assigned to the service node, assigned to the web site, DNS is updated, and the site is automatically changed to using a Dedicated IPv4 and Dedicated IPv6.
The bad news: visitors land on the default web site of the service node, with the default SSL certificate.
Other info: I can't ping the new IP, even though it shows in "ip a l" and /etc/sysconfig/network-scripts/ifcfg-eth0:0. [edited]
After the IP assignment, it is still installed, and /etc/httpd/conf/plesk.conf.d/ip_default/domainname.conf shows the new certificate is being used.
However, a second set of VirtualHost entries is created in server.conf for this IP for ports 80 and 443, with NameVirtualHost enabled on the new IP. The port 443 entry uses the default certificate. Apache's setup this default VirtualHost entry will override the web site configuration because Apache is listening on port 443 with the wrong cert.
If I go to "Change webspace settings" and toggle to Shared IPv4, Dedicated IPv6 the site works again via HTTPS, and Dedicated IPv4 and Dedicated IPv6 breaks it again. Setting the SSL cert to None and back again does not work.
Setting the SSL cert to None, changing to a dedicated IP, and enabling SSL results in the server being inexplicably inaccessible...browsers no longer connect to either the default site or the correct site, and I don't see any entries in the vhosts's logs.
I was on a server (reseller account) that ran PHPSuexec and default permissions were 755/644 as they should be.
We moved to a new cPanel 11 server and default permissions are 775/664. This is the same on 4 different servers from 4 different hosting companies (all reseller accounts). Three are CentOS, one RedHat Enterprise.
I entered a support ticket for one company and they said the permissions were not right and supposedly fixed it (I have left that company since then so I can't check).
The other hosting companies say their umasks are right and would not change it.
Apparently the apache installation defaults to these permissions which, security wise, seems kinda strange.
Can anyone shed some light on whether or not this is secure and does this mean I'm going to have change permissions evertime I upload files to install shopping carts, billing software etc.? (It's not hard it's just stupid to have to).
Should my hosts change apache system umask (022) to make permissions default to 755/644?
i have installed ppa 11.5 update #3 and now updated to update #4.
While adding new service nodes, i get everytime the error "Can not determine remote host "hostname" platform". I tryed Apache web server standalone and with mysql, postfix...
I tried adding an apache service node to PPA Admin Node.
I referred to the specs at [URL] ....
Specifications of the Apache server node are:
RHEL 6.4 64bit
RAM 3GB
CPU 2.5GHz
Free Space 18GB
Ports Opened:
80, 443: HTTP, HTTPS
8352-8999: Communication between a service node and PPA panels
22: Communication through SSH
20, 21: FTP connections
But when I tried adding it as a service node, PPA says The Linux platform installed on the remote host 'xx.xx.xx.xx' is not supported. Please, check the list of supported platforms.
I currently have a WHM/CPANEL VPS and will be running a content managment system that is licensed to manage any domain on the same server.
The CMS essentially builds static webpages for all domains that it manages. The CMS is written in perl and is installed in CGI directory of the " master domain".
I wish to use the CMS in this master domain to control the other domains on the server. Each of the other domains has its own public_html directory and own CPANEL.
Right now, I have to make the public_html directory of my other websites "world writeable" before I build its pages using the CMS. I want to get away from that.
I wish to set up permissions to 755 on each of the public_html directories and still be able to write to those other sites from my master domain's CMS.
I am just getting started with my first Linux VPS account and am having a problem that I hope someone can help me with. I am setting up multiple client accounts that will each have access to Tomcat Manager on their own domain so that war files can be deployed to the home directory of the respective account. I was able to get Tomcat Manager going for each domain, but when I try to upload a war file, I get a permission denied error. However, I don't get this error for the main VPS account.
What is the best way to resolve this? Is there a way to link a client account user to an instance of Tomcat Manager? Or do I have to assign the home directory of the account to a group that is common to the tomcat user (assuming that is what Manager is running under)? Or is there another option that is entirely better?
Just looking for some guidance before I hack up my new account too bad.
I run a virtual server (Ubuntu 12.04, Plesk 12, Postfix 2.9.6) using plesk to manage multiple domains. The server address is server.domain1.com. I use plesk to also manage domain1.com regarding all services, including DNS and mail.
What I just found is that postfix sometimes issues the following warning:
server postfix/trivial-rewrite[7397]: warning: do not list domain server.domain1.com in BOTH mydestination and virtual_alias_domains
The essential part of my main.cf is:
myhostname = server.domain1.com
mydestination = localhost.$mydomain, localhost.localdomain, localhost
virtual_mailbox_domains = $virtual_mailbox_maps, hash:/var/spool/postfix/plesk/virtual_domains
virtual_alias_maps = $virtual_maps, hash:/var/spool/postfix/plesk/virtual
virtual_mailbox_maps = , hash:/var/spool/postfix/plesk/vmailbox
virtual_transport = plesk_virtual
And /var/spool/postfix/plesk/virtual_domains contains amongst others:
domain1.com domain1.com/
I do not have any issues with receiving or sending e-mails right now, but would like to get rid of the error message however.
Could it be the problem that postfix automatically sets mydomain to $myhostname with skipping the first part (i.e., mydomain is implicitly set to domain1.com)? Should I manually set mydomain to server.domain1.com instead? Any other recommendations? Since mydomain seems to be used in multiple options [URL] ..., I wonder what I might destroy with changing this? As all mail services run without any further troubles at the moment, I don't want to break this...
As I assume that quite some people use a plesk-based server to manage the domain to which the server itself belongs to, I would assume that there should be a general fix/check to updated mydomain accordingly?
How to Change php files permissions in directory and subdirectory at once ?
I want to change the permissions of php permissions to be 644 in /home/user/public_html/forum and all forum subdirectory using SSH.
Until recently i had never used a Linux server, as i used to have a windows server. I now have a Linux VPS
I am now at my wits end with file permission problems
I use Joomla a lot for my websites, and i also develop and program many modules and components for it, but at the moment every time i upload a module (which is a zip file with php files that is put onto the server in the right place via php) it sets the ownership to "nobody" rather than the username so i cant access it via ftp, as it says you don't have permission or the file may not exist.
Is there anyway the server can be set so it will by default set the file to have an owner name that will allow ftp access to it without me having to learn SSH Putty (which is all i have done today) or contacting my hosting company every time?
I am spending more of my time with these permission problems than doing my work, it driving me barmy!
Is it possible to lock for example the site down with basic auth and lock a subdirectory of it with a different basic auth?
Example: URL...
<LocationMatch "/*">
AuthType Basic
AuthName "Main Gate"
AuthBasicProvider file
AuthUserFile /etc/accounts
Require valid-user
</LocationMatch>
[code]....