Plesk Automation :: Chroot Directories Ssh Access Forbidden
Apr 7, 2014
I've a problem with the chroot directories under /var/www/vhosts/domainxy.com. The options I've configured is "Access to the server over SSH -> Forbidden", After creating a webspace there are no chroot directories. But if I change the system user username under hosting settings, the directories will be created. But I don't want this, because the option I choosed is "Forbidden" and my customers are irritated about this directories. Can I prevent this behabiour?
View 1 Replies
ADVERTISEMENT
Aug 4, 2014
Since one of my scripts was not working fine I came up with enabling
" Home>Subscriptions>tld>Websites & Domains>Web Hosting Access = > Access to the server over SSH : forbidden to /bin/sh "
Is it safe or not?
View 2 Replies
View Related
Feb 6, 2014
I've managed to get so far through the update from 11.1 to 11.5
The updater was rerun after problems with corrupt data. Things seemed to be going well until it updated to PGSQL 9.1 and restarted
It appears to not to be able to get access
psql -h`hostname` -U plesk plesk
results in asking for a password, which it did not before and what the password would be for the plesk user.
View 3 Replies
View Related
Jan 3, 2014
We will be hosting our own closed source solutions and need to be able to not give customers access to the files in their webspace.FTP and SSH access will be blocked in the firewall, so that it easy.I see it is possible to disable access to FTP users information, but the file manager is still usable in the CCP (Customer Control Panel / Hosting Panel).Can this file manager be disabled as well?
View 6 Replies
View Related
Jul 15, 2008
Ok i get 403 forbidden when i try to access /uploads/ on my server. I wish to make it public. Can i make a index.html file dispay all of the files in the directory?
View 5 Replies
View Related
Feb 27, 2008
In my VPS:
I have given to one of my clients a reseller, sometimes, it shows an error, when he enters his Forum:
Forbidden
You don't have permission to access /vb/showthread.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
The weird thing is, when that error comes, will appear on all other forums in the same time in his reseller!
I have tried to use some solutions such as :
1- Create .htaccess file and add the following code
Code:
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
2- I increase MaxSpareServers in httpd.conf.
View 5 Replies
View Related
May 18, 2008
I wanted to know about 403 error. I want to access a site, as I am browsing - its giving the error as below:
-----------------------
Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
-------------------------
Does anybody will help me regarding my issue. Can somebody tell me why I am unable to see the site.
View 1 Replies
View Related
Jun 3, 2013
We have many intranet document what linked on our intranet site. We use "apache builed in" directory listing to handle documents on browser, and make accessable to users. Because this not so user friendly we try to use a template (h5ai-[URL] ....) for mod_autoindex.
Unfortunatelly if file or folder name contains special characters (like é,á,ű,ő,ú,ü,ö,ó) than get Access Forbidden - Error 403. If change the folder name, than its ok.
I use xampp. how to solve this.
View 7 Replies
View Related
May 24, 2013
I'm trying to get multiple GUN groups to have access to certain directories.
Access to transport, delete
When you go to access transport or delete you get prompted for user name and password when entered you get in. However when I add GUNtest10 in the required ldap group. It doesnt accept your user name and password.
######ACL Directives######
LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
<Directory /bills/>
AuthType Basic
AuthBasicProvider ldap
AuthName "1Login with your Windows ID and password"
[Code]....
View 1 Replies
View Related
Sep 30, 2014
I have customers that want the git program to be able to pull/push their github repos. I've copied all of the files in the git rpm into the site's chroot but whenever they try to pull down their repo via ssl they get this message:
error: while accessing https://github.com/USERNAME/PROJECT.git/info/refs
fatal: HTTP request failed
We have gotten ssh to work with git but the ssl issue still isn't working.
View 1 Replies
View Related
Sep 24, 2014
Where can I define the $PATH in chroot permanent ?
If i use "export PATH=$PATH:/usr/libexec" in the shell - its ok for this session, but in a new Session the modified $PATH-Variable ist reset to:
"echo $PATH"
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
View 1 Replies
View Related
Feb 23, 2015
Is there any way for a client to use command line mail in a script. Client has ssh access via chromed environment.
Wants their script to be able to send an email on completion.
plesk 12 on Centos6.6
View 6 Replies
View Related
Sep 30, 2014
After update of some system commands, there is now difference between the system-wide command and the equivalent that is located in the chroot template directory (and the command that is in the domain's bin dir).
Is there a command/utility that can update the commands (and all libraries that they depend on), that we have in our chroot template directory /var/www/vhosts/chroot?
View 2 Replies
View Related
Aug 27, 2014
I am testing out Plesk control panel 12 - looks promising, but the moment I hit chroot-ed environment, many things go wrong.
Set up:
Virutal server, running linux (64 bit Ubuntu 14.04 Server LTS);
Plesk Control Panel 12.0.18, Update #14;
Currently running on a trial license;
Brand new installation on a dedicated server;
I have two disks, one is for system stuff, plus plesk; second disk is supposed to be dedicated to /var and /home
root@testthing:/var/log# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 40G 8.7G 29G 24% /
....
/dev/vdb1 493G 2.9G 465G 1% /disk2
[Code] .....
(to save place, I've removed the regular stuff that is everywhere and makes not difference for this case ... I think)
The plesk installation went just fine; update ran fine; I can register customers, their websites run fine ... as long as they get no shell at all, or regular shell to the server.
BUT: we need to jail all our customers under chroot. If that is not possible, we can't use Plesk.
I created a Service plan cloned form the Default domain plan and changed only to give the users ssh access to the server with a chroot env.
When I try to register a new client with this new service plan, it fails with lots of error messages (one per directory it tries to make), like this:
chrootmng: cannot set permissions for "/var/www/vhosts/demowh1.blah.blah/lib":Too many levels of symbolic links
...
Dropping the GUI and xperimenting in a shell, as root: If I run:
root@testthing:/usr/local/psa/admin/sbin# ./chrootmng --create --source=/var/www/vhosts/chroot/ --target=/var/www/vhosts/demowh1.blah.blah
open_basedir_with_nofollow: opeat failed: `var', Too many levels of symbolic links
[Code] ....
But, if I run it like this:
root@testthing:/usr/local/psa/admin/sbin# ./chrootmng --create --source=/var/www/vhosts/chroot/ --target=/disk2/var/www/vhosts/demowh1.blah.blah
It proceeds to make a copy of all directories where it should.
So, at this point I am pretty sure that the problem is my link between /var and /disk2.
Still, I want to keep the user data on a separate disk from the system/plesk data.
View 4 Replies
View Related
Jul 5, 2013
I am trying to install Automation, and I keep getting an error after the "Getting SELinux" step, here is a log of the process so far:
Code:
[INFO]: Checking current user privileges...
[INFO]: Checking critical environment requirements...
[INFO]: Determining OS parameters...
[INFO]: Detected OS: CentOS-5-x86_64
[INFO]: Getting SELinux state...
[ERROR]: Unexpected error: ''
[Code] ....
I have tried running the installation on a different server and the same issue came up...
View 19 Replies
View Related
Apr 4, 2015
I am installing plesk automation on centos 6.5 using this command on a fresh system
./ppa_installer --password some_password --admin_email some_email
and get the following error.
[LOGTEE]: Error Downloading Packages:
[LOGTEE]:
[LOGTEE]: libuuid-2.17.2-12.18.el6.i686: failure: Packages/libuuid-2.17.2-12.18.el6.i686.rpm from base: [Errno 256] No more mirrors to try.
Looks like some lib is not found in the mirrors.
View 1 Replies
View Related
Jan 29, 2015
On a clean install of CentOS 6.6 (Final) I did the following:
1. updated the /etc/hosts file to point my ip to the hostname
2. Open the ports in the iptables file.
3. ran the ppa_installer per the instructions on [URL] ....
The ppa_installer log says installed Successfully. However the following occurs:
1. Cannot browse to the url:8443, or any of the other variations (8080, 8880, https/http)
2. Yum installer is now broken (I replicated this twice). Yum will not run at all with the following error:
There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: /usr/lib64/libcurl.so.4: file too short
Please install a package which provides this module, or verify that the module is installed correctly.It's possible that the above module doesn't match the
current version of Python, which is:
2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]
I am now going to try Cent OS 6.4.. will report back.
View 8 Replies
View Related
Dec 17, 2014
We have installed Plesk 12 on a fresh up to date Ubuntu 14.04 x64 server.
After installation, and before any migration, we have moved some folders:
- /var/www/vhosts -> /opt/vhosts
- /var/qmail -> /opt/qmail
- /var/mysql -> /opt/mysql
We have created symlinks, modified some configuration files (Plesk included) and ran domains reconfiguration script (zero domain installed, but just in case the script will do anything else).
After that, we have launched Plesk Migration Wizard (from Plesk 9 to last release).
Everything has worked fine: all domains have been migrated on our new folders (/opt based) and owners has been correctly defined for each domain. The same for MySQL and all mail accounts.
We have checked Apache VirtualHost configured by Plesk Migration Wizard : our new folders are used (/opt).
So all seems to be ok.
But now, all websites (configured with Apache and Apache PHP module) returns 403 Forbidden error.
We have try changing to FastCGI with Apache same error.
We have try changing to full Nginx (PHP and static files), some websites run.
We have checked some KB (112884, 800) but all seems to be good.
Is there any steps we have omitted when we move folders ?
View 11 Replies
View Related
Feb 3, 2007
I have a small problem. I have a install directory on my website, who are only for me. I have a password protected directory, and thats no problem to create in Plesk on Linux.
But the main diffrent from Windows based Plesk, are that I can not create a directory there I can browse the files in my webreader.
In windows plesk they have a option called Web directory, but I have never seen thats option in Linux plesk.
Are there any easy way to password protect and allow directory browsing in Plesk for Linux? Or do anybody have a easy way to do that?
One option, is to access the directory thru FTP interface in Internet explorer (ftp://mysite/directory). But I want to access the site thru HTTP if possible.
View 3 Replies
View Related
Jul 6, 2015
After I've upgraded Plesk 1.0.18 to latest version, I'm unable to set protection on directories. Plesk say it is set, but it is not. I can access protected directory without pop-up of login-details. Old protected directories work, but for new one added not working anymore. I also tried by conventional way adding .htaccess and .htpasswd files to the directory, but it does not apply either.
View 2 Replies
View Related
May 21, 2014
We will be migrating from plesk 9 to plesk 11 and I am having some trouble finding a fix for something. Previously, http and https could either share a directory or have split directories (httpdocs and httpsdocs) for a site. Now all I see is httpdocs and I can't find a way to have separate directories.
View 6 Replies
View Related
Feb 24, 2015
Plesk12 on IIS8.5/Windows2012r2.
Migrating existing IIS websites into Plesk we are creating new clean websites and then copying the existing code across into the httpdocs directory.
Should we leave all the documents and file structures created by Plesk in place when we do this OR should we delete everything in the httpdocs directory and copy our code into here?
View 1 Replies
View Related
Oct 16, 2014
Plesk 11.5.30 Update #47
When I look in a directory password protected by the Plesk Panel, I don't see an .htaccess file...
So, how does Plesk password protect directories?
And, is it possible to add functionality that would limit number of login attempts, and block an offending IP for a period of time?
View 2 Replies
View Related
Oct 13, 2014
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.
View 1 Replies
View Related
Dec 23, 2007
I want to copy whole directories about 20gb to another server across the world.
If I type "mput *" it will say "not a plain file" for directories.
How do you move an entire site, I don't want to achive and move because it is big.
View 1 Replies
View Related
Aug 28, 2012
How can I allow only one ip or a list of ip addresses to access port 8443.I need to limit access this port to few ip addresses and not everyone
View 6 Replies
View Related
Oct 12, 2009
It has been a long time since I setup named, and I need some help as I'm just not getting it this time around. I'm running named on CentOS under Chroot
IP Space is; 216.201.80.96/28
Gateway is 216.201.80.97
Netmask is 255.255.255.240
Useable IP Space is 216.201.80.100 - 110
named.conf
---
key "rndckey" {
algorithm hmac-md5;
// secret is xx'ed out for this posting
secret "xxxxxxxxxxxxxx";
};
controls {
inet 127.0.0.1 allow { 127.0.0.1; } keys { "rndckey"; };
inet 216.201.80.101 allow { 216.201.80.101; } keys { "rndckey"; };
};
options {
directory "/var/named";
pid-file "/var/run/named/named.pid";
recursion yes;
allow-recursion {
127.0.0.1;
216.201.80.101;
};
listen-on {
127.0.0.1;
216.201.80.101;
};
query-source address * port 53;
version "REFUSED";
allow-query {
127.0.0.1;
216.201.80.101;
};
};
server 216.201.80.101 {
keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "cheapdatamining.com" IN {
type master;
file "data/cheapdatamining.com.zone";
allow-update { none; };
};
cheapdatamining.com.zone
--------------------------
$TTL 38400
@ IN SOA ns1.cheapdatamining.com. admin.cheapdatamining.com (
2008090335 ; Serial
10800 ; Refresh after 3 hours
3600 ; Retry after 1 hour
604800 ; Expire after 1 week
86400 ) ; Minimum TTL 1 day
cheapdatamining.com.INNS ns1.cheapdatamining.com.
cheapdatamining.com.INNSns2.cheapdatamining.com.
ns1.cheapdatamining.com.IN A 216.201.80.101
ns2.cheapdatamining.com. IN A 216.201.80.102
resolv.conf on server.
--------------
search cheapdatamining.com
nameserver 216.201.80.101
nameserver 216.201.80.102
Got the domain sitting at godaddy with ns1 and ns2 pointing to 216.201.80.101/102
Everything looks good as far as I can see, local nslookup on the loopback is fine, and iptables are good.
View 0 Replies
View Related
Apr 29, 2007
Is anyone using a chroot apache to offer shared hosting, with CGI, PHP etc... all working fine?
View 2 Replies
View Related
Jan 6, 2009
I am trying to configure chroot for my Apache 2.2.8 + PHP 5.2.8 + MySQL 5.0.51 + CentOS 5.1 using the article at: [url]
I have moved most of the files that are required by Apache to run.
I want to move PHP, MySQL also into chroot jail along with Apache.
How can I know the list of files that are needed by my Apache? It is asking for some of the files in the /usr/bin, /lib, /usr/local/lib, /usr/lib folders.
Somehow, I moved most of the files that are required by Apache to the chroot jail and finally I got httpd: bad user name daemon error.
And in CentOS, I don't have the file /etc/passwords and the command pwd_mkdb.
View 0 Replies
View Related
Jan 23, 2009
I'm using Plesk on my server and its a pain in the @** to create FTP users. So I found this article on adding chrooted FTP users. I successfully added a user, but would like to change the path now, how can I do this?
View 2 Replies
View Related