New in CWP Edge / LTSFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers. Available now in the Edge-Latest and LTS-Stable versions. Discuss in the forum

LSPHP / Cache ›
CWP Secure KernelKernel-level protectionEvery site in its own sandbox

Every PHP site, cron job and SSH session runs in its own profile that the kernel enforces. A hacked WordPress cannot read other accounts’ files, and crypto miners and unexpected processes are stopped. Discuss in the forum

Secure Kernel ›
CWP DataCenter PanelFree for CWPpro serversAll your servers on one screen

Manage all your CWP servers from one panel: live health, every hosting account, CWP and OS updates on many servers at once, backups, SSL, firewall and Telegram alerts. Discuss in the forum

DataCenter Panel ›
CWP Backup ServerFree for CWPpro serversBackups that ransomware cannot reach

Protected backups of all your CWP servers on a separate machine. Snapshots a hosting server cannot delete, and restore of files, databases, mail and whole accounts in the admin and user panel. Discuss in the forum

Backup Server ›
WordPress ManagerIncluded & freeWordPress managed from the panel

Install, secure, update, back up and clone WordPress sites without FTP. Updates are tested on a staging clone first and applied to the live site only when they pass, with a backup taken first. Discuss in the forum

WordPress Manager ›
CWP CageIsolationEvery account in its own cage

Per-account isolation built from Linux namespaces and cgroups. A break-in or a runaway script on one site cannot reach another account, the panel or the rest of the server; resource limits per hosting package. Discuss in the forum

CWP Cage ›
Script InstallerOne-click appsWordPress, Joomla, Moodle and more in one click

CWP’s own script installer in the user panel: pick an app, choose the domain and folder, and it is live in seconds with its database and admin login created automatically. Ready for LSPHP and LSAPI-Cache. Discuss in the forum

Script Installer ›
DNS ClusterFor every control panelOne DNS cluster for all your servers

Your servers keep creating domains as usual; the zones are collected into one authoritative PowerDNS cluster you control, with DNSSEC, roles and a full activity trail. Accepts CWP, cPanel, Plesk, DirectAdmin and BIND. Discuss in the forum

DNS Cluster ›
CWP BillingFree to useBilling and support system for hosting providers

Clients, services, invoices, payments, domains, server provisioning and support tickets in one place. All gateways, server modules and registrars are free, with free migration from WHMCS, ClientExec and Blesta. Discuss in the forum

CWP Billing ›
CWPproFrom $1.49 per monthEvery CWP feature unlocked

CWPpro is the professional version of Control Web Panel: all features, unlimited accounts, the latest CWP version and security fixes first. $1.49 per month or $11.99 per year. Discuss in the forum

Get CWPpro ›

About permisions on the users

Started by erm3nda, April 09, 2015, 03:59:27 AM

Previous topic - Next topic

erm3nda

I have tested some new things and getting into troubles.

Usually i used root shell access to main things, but now im developing a web interface using a sub-account with shell grants. I've set the inode to 0, n processes to 100 and n opened files to 300.

Im experiencing a lot of stronge errors.
As example, i run into the ssh sub account then run vncserver. That runs, but when i try to run some X program i got error like "Error forking proccess", including one time with the simple "ls" command.

I used CWP to fully manage users on that VPS, but i need to create/use a NON restricted user. I don't know what does your script setup to accounts or if it's related, but i cannot make run.

I don't wanna to dig into php's ssh dlls, i like to use each account capabilities.

Any suggestion???
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.

erm3nda

I have installed finally libSSH2 using the bullten's autoinstaller (http://panel.bullten.net/knowledgebase/40/PHP-SSH2-in-CWP-Auto-Installer.html)

When i got a little more time i will dig into that, except if the libSSH2 makes all my dreams true :) so i will forgot that.

Best regards.
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.

Administrator

you should increase this values according to your needs, there are used so that user can't crash or overload the server.

erm3nda

I got more problems with that.
The values of processes or opened files are long far from the real use (5~10 processes, 10~20 files opened) so i don't think is a problem from users.

Seems it's a bug on the software that im running but I'm not 100% sure, still researching.

I've try a new user with no quotas at all and no lucky. I found a workaround to use the app only with root using LibSSH2 ;) and profiles.

The most boring thing... is that i got this problem with firefox :(
I don't believe that a Centos 6.6 user cannot use Firefox without root account...

Some suggestion about that is higly appreaciated.

8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.

Administrator

firefox isn't part of the cwp or CentOS server and any gui shouldn't be installed on the server.

erm3nda

Quote from: Administrator on May 04, 2015, 08:56:36 PM
and any gui shouldn't be installed on the server.

Big words on your side. Why shouldn't?

I've say that is not problem from CWP, or at least i haven't found evidences of that.

8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.