Applications In A Chrooted Shell
May 5, 2008
On one of my servers, i created a chrooted shell environment in order to give out shell accounts, however i am wondering which linux commands i need in order for users to compile,install and run software like "eggdrop". I already added the most basic stuff, like "make, gcc, cc" but that does not seem to be enough. When i execute "./configure", it ends up in an endless loop which can only be ended by a root account.
View 9 Replies
ADVERTISEMENT
Aug 3, 2009
I have a chrooted ftp user that I use on my server. I would like to run a cron job using this user that backs up my mySQL databases. When I execute the job, it complains about date and mysqldump not existing. I was able to fix the date problem simply by copying it from the actual /bin to the chrooted /bin. However, I can't simply copy mysqldump because it depends on several libraries. Anybody know how I can give this chrooted user access to commands that aren't in his chroot?
View 6 Replies
View Related
Jun 17, 2015
Since the migration from Plesk 11.5 to Plesk 12.0 the "chrooted" SFTP accounts do not work anymore. Along with the Plesk migration we have changed the operating system too. We've migrated from CentOS 6 (x86_64) to CentOS 7 (x86_64).
When trying to connect using SFTP on the command line I get the following error message: debug1: Exit status 127...When using an SFTP client such as WinSCP I get logged out immediately without any message.
The OpenSSH configuration is saying:
<...>
Subsystem sftp /usr/libexec/openssh/sftp-server
<...>
The mentioned binary from above does exist:
ls -l /usr/libexec/openssh/sftp-server
-rwxr-xr-x 1 root root 83984 2015-05-12 21:41:56 /usr/libexec/openssh/sftp-server
I have attached the debug output of the SFTP command (plesk_sftp_issue.txt).When I change the option "Access to the server over SSH" to "/bin/bash" the SFTP access works again. But when "chrooted" it stops working.
Plesk 12 under CentOS 7?
View 1 Replies
View Related
Sep 24, 2014
I am trying to add new programs to the CHROOTED environment via this post: URL....I downloaded the following file URL...., but it has errors. After adding execute permissions, the linux file will not run (errors posted below). I believe there is invalid formatting in the document. I have tried to correct it myself by removing unnecessary characters, but I am unable to get it working.update the file or attach a new copy to this message?
: command not found line 1:
: command not found line 3:
): No such file or directorywarning: setlocale: LC_ALL: cannot change locale (POSIX
): No such file or directorywarning: setlocale: LC_ALL: cannot change locale (POSIX
: command not found line 6:
./chroot_update.sh: line 14: syntax error near unexpected token `elif'
'/chroot_update.sh: line 14: `elif [ -f /etc/debian_version ]; then
View 1 Replies
View Related
Mar 4, 2015
I'm Running Plesk 12 latest version. I've been partially followed that instructions to add php5 to a chrooted environment with success : [URL] .....
Code:
bash-4.3$ php --version
PHP 5.5.9-1ubuntu4.5 (cli) (built: Oct 29 2014 11:59:10)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
This is how i did it, as root user :
Code:
./chroot_update.sh --add /usr/lib/php5
mkdir /var/www/vhosts/chroot/usr/share
cp -a /usr/share/zoneinfo /var/www/vhosts/chroot/usr/share
php -i | grep extension_dir
# returns : /usr/lib/php5/20121212/
[Code] .....
View 2 Replies
View Related
Jul 8, 2008
Do any1 know how to change jail shell to normal shell?
View 14 Replies
View Related
Jul 12, 2009
I have a problem with applications on my server. There is this osCommerce application for a customer installed, but how ever he forgot to change the user and pass for the admin panel. (changed right now, fortunately) so we had a hacker attack from that domain, actually we think that we had it from there becase we found a file like sex.php which sould not be there. With that php file, hacker change all index.php files to "hacked by ".
So we finally understood that we cannot overcome the hacking problem because of those client mistakes, but we can isolate the applications. But how?
That is my question, how can we isolate applications and not let them change other applications files?
View 2 Replies
View Related
May 30, 2009
I am running an application for which users pay a recurring monthly fee to use.
However, I am not familiar with what kind of hosting and layout i should approach.
Should I just purchase a deicated box from say FDC, and put 5~10 users on it?
Or should I get small vps for each user.
View 4 Replies
View Related
Apr 22, 2009
Is it possible to have a single domain, with a single SSL certificate, running multiple applications that use the same SSL cert? ....
View 8 Replies
View Related
Sep 12, 2008
We'd like to host an application that will be controlled through web access at a specific port. We also want to control the amount of data traffic on a per user basis.
How can we do this? Can we bind a specific server IP : Port to a user and control the data from that. How can we make sure that only one user access one server IP and Port and so cancel user overlapping (one user finds out another IP and Port and uses that).
We will be using Windows Server 2003 and can have Plesk Control Panel installed.
View 0 Replies
View Related
Nov 5, 2007
I want to add 50 emails to a group called group50@service.com
Then from anywhere in the world I can login to an email client, compose a message to group50@service.com. And it will send my message to all 50 users.This is not limited to just my account, but universal to anyone.
View 3 Replies
View Related
Nov 11, 2007
Im not having a much knowledge of server managing well i have a question rkhunter showing after scan that there is two valunable applications he found but im unable to get the name of these files which are valunable how do i know the name of them ?
View 3 Replies
View Related
Oct 18, 2008
While I'm fairly familiar with running and serving Java applications (how they handle their load..etc) I'm fairly new "mass" hosting PHP applications.
PHP has a lot of advantages though, for example it's a lot more stateless and you can run a lot of PHP applications on a server.
As part of some new work I'm undertaking I need to come up with some decent infrastructure for PHP hosting. We want to get this right so I'm taking advice here as well.
My configuration would most likely be something like ....
View 9 Replies
View Related
Aug 2, 2009
I have setup Active Directory and client computers (win xp sp3). Now I want to install applications on client systems from the wondows server 2003.
View 3 Replies
View Related
Dec 10, 2007
I am attempting to use PHP on a IIS6 server to run console applications. There is no issues with my PHP code as it works on my own computer however it fails when tested on my Windows Server 2003 server.
The script it designed to execute a command that runs the program however the program does not run. If I manually type the command in command prompt while logged in via Remote Desktop the application launches in a new console window.
Could the problem be with the fact its trying to launch a new console window and since the user account its using is just a IIS account it can't create the console window? If so, without editing the actual program code or creating a service, how can I configure Windows to execute the program?
View 4 Replies
View Related
Feb 14, 2015
I am running Debian 7.5 and after a recent re-install of plesk and the os I am unable to download any applications. As soon as I run install wordpress or any other application the download bar just sits at zero.
View 3 Replies
View Related
Jul 25, 2014
I just tried to install wordpress on Ubuntu 12.04.4 LTS Plesk 12.0.18 #9 via
Plesk -> Domains -> domain.tld -> Applications -> WordPress -> InstallClick to expand...
View 2 Replies
View Related
Jun 21, 2014
I tried to install Joomla on my server from applications ( Not manualy ) . I go at applications on plesk's panel then i click on Joomla and the click to install it. After that , it shows that it's downloadiing ( Downloading Joomla... ) and it isn't doing anything else. It remained stuck at 0% like forever. I waited more than 2 hours once, and it didn't do anything. It was just stuck at zero. Other applications are working.
View 1 Replies
View Related
Apr 28, 2014
I have to install mediawiki application on a client website, but during installations process occur this problem, PPA version is 11.1 :
View 2 Replies
View Related
Mar 28, 2013
In PPA is there a way to restrict what applications from the application catalog can be used for each server? Right now I have a hosting node that can install anything from the application catalog, but I can't find anywhere in PPA to specify what is available and what isn't. If I go to APS Applications and My Apps, Add App, and select "Select an app from Application Catalog", firstly no matter which browser I use, the OK/Cancel buttons disappear. I have to open the frame in its own tab to be able to use this properly. But even if I select an app and choose not to make it available, it can still be added from the customer's hosting panel. In Plesk 11 I can choose which applications are available to the customers. I can't find how to do the same thing in PPA.
View 5 Replies
View Related
Sep 24, 2014
Plesk 12.0.18 updated recently. After resolution of any problems caused by migration, I'm on the last (I think).
By accessing the domain panel and try to install Wordpress on the applications tab, I encounter the error below:
Error: The Following error has occurred During The download of application: HTTP Error (0)
[URL] ....
This error is repeated for the installation of any application, such as Joomla and Drupal.
View 2 Replies
View Related
Sep 20, 2013
From PPA im not able to download wordpress, i can see the download bar but seems that there's some problem to download the package.... why? Which logs i have to check ?
View 4 Replies
View Related
Feb 8, 2015
i am relatively new to Plesk, i ordered a vserver with Plesk a couple of months ago and spend a lot of time setting everything up and developing several new websites. I am used to developping new websites on a hidden adress (sth like domain.com/dev/ instead of the top level) and then switch the document root to point to the hidden directory when all is done. This practice has served me and my clients well for the last 10 years.
Using the Plesk features like built-in applications seemed like a good idea at the time but wanting to switch the new websites live i have now found out that Plesk won't let me do this since..It is impossible to change document root because there are web applications installed on this website.
I had read somewhere on the interweb that the v12 would let me do this so i just spent the better part of today updating to v12 .. but alas no luck, the limitation is still there. Is there a way to remove this limitation ?
View 1 Replies
View Related
Nov 12, 2014
We have installed the latest version of Plesk on our server. Our web applications work fine. But we can not send or receive emails. Neither the webmail (login failed) nor pop3 / imap and mail forms on web projects.
openSuse 13.1
Plesk 12.0.18 Update # 23
Mail Server: Postfix
Imap / pop3 server: Courier-Imap
Webmail: Horde
View 6 Replies
View Related
Sep 30, 2007
my server in under attack of shell
how can i find shell code in my server? (c99 ...)
is any anti virus or open source tools to find it
how can i disable shell function?
View 4 Replies
View Related
May 10, 2007
I have spare dedicated machine.
I want to allow user to run few processes on machine (debian etch).
I configurated limits at /etc/security/limits.conf for group "shell".
When I attached user to group shell, limits work well, but he still can look
everywhere on system. (he can do cat /home/somefile.txt, even owned by root).
Is there any method, software to limit user to acces only their home directories?
View 2 Replies
View Related
Jun 7, 2009
For security reason I have these php functiosn disabled:
show_source, system, shell_exec, exec, popen, proc_open, procopen, passthru
Can anyone please tell me whether if it will prevent shell scripts from working?
They can still upload the shells but cant read/write/execute commands in 777 directories?
View 6 Replies
View Related
Apr 16, 2005
I'm having a problem connecting to SSH/Shell on my server. I get the Login Prompt, but when i enter the User/Pass i just get "SSH-2.0-OpenSSH_3.6.1p2", everything under that is blank.
I've restarted the SSH Server and made sure the account i was using was set to use Normal Shell (not jailed). What could be the problem?
View 3 Replies
View Related
Oct 8, 2006
I was wondering if it were possible to chmod a directory that is set to a low number to 777 using a shell or command and if so can anyone point me in the right direction as to how to go about doing so ??? I am trying to learn a little and i pefer using my browser to edit files rather then a ftp client.
View 9 Replies
View Related
Jun 9, 2007
I was just wondering if anyone is aware of Linux VPS or shell account providers with servers that are physically located in Pennsylvania. The only two I've come across so far are Nocster and VPS Village.
View 2 Replies
View Related
Oct 8, 2009
I keep seeing web hosts where it says that there is/isn't shell access, etc. What's shell access and what do you do with it in/with a web host?
View 14 Replies
View Related