Control Web Panel

WebPanel => CentOS 6 Problems => Topic started by: erm3nda on April 09, 2015, 03:59:27 AM

Title: About permisions on the users
Post by: erm3nda on April 09, 2015, 03:59:27 AM
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???
Title: Re: About permisions on the users
Post by: erm3nda on April 13, 2015, 03:09:39 AM
I have installed finally libSSH2 using the bullten's autoinstaller (http://panel.bullten.net/knowledgebase/40/PHP-SSH2-in-CWP-Auto-Installer.html (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.
Title: Re: About permisions on the users
Post by: Administrator on April 16, 2015, 10:01:04 AM
you should increase this values according to your needs, there are used so that user can't crash or overload the server.
Title: Re: About permisions on the users
Post by: erm3nda on April 24, 2015, 08:34:52 PM
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.

Title: Re: About permisions on the users
Post by: Administrator on May 04, 2015, 08:56:36 PM
firefox isn't part of the cwp or CentOS server and any gui shouldn't be installed on the server.
Title: Re: About permisions on the users
Post by: erm3nda on May 05, 2015, 05:36:31 AM
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.