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.