Author Topic: About permisions on the users  (Read 4011 times)

0 Members and 1 Guest are viewing this topic.

Offline
***
About permisions on the users
« 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???
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.

Offline
***
Re: About permisions on the users
« Reply #1 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)

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.

Offline
*
Re: About permisions on the users
« Reply #2 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.
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
***
Re: About permisions on the users
« Reply #3 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.

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

Offline
*
Re: About permisions on the users
« Reply #4 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.
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
***
Re: About permisions on the users
« Reply #5 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.

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