Current time: 11-15-2024, 05:29 PM Hello There, Guest! (LoginRegister)


Post Reply 
Running ispcp without root privileges
Author Message
kts Offline
Newbie
*

Posts: 5
Joined: Dec 2008
Reputation: 0
Post: #1
Running ispcp without root privileges
Hello,

I was wondering if it's possible to somehow run ispCP Omega entirely as a "non-root" user. The Documentation suggests to run the installation process with root privileges - that's alright. But from there on I find it kinda risky to just go on like that. So what would I have to do in order to make ispcp omega work without root privileges?

Thanks in advance,
kts
(This post was last modified: 12-23-2008 06:27 AM by kts.)
12-23-2008 06:26 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Running ispcp without root privileges
Hi

the gui (webservice) runs without root privileges (vu2000) but since ispcp needs to create users and so on - it needs some higher privileges - this is limited to the ispcp_daemon which calls the engines (perl scripts).

/J
12-23-2008 08:20 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kts Offline
Newbie
*

Posts: 5
Joined: Dec 2008
Reputation: 0
Post: #3
RE: Running ispcp without root privileges
Thanks for your response first of all!

Isn't there any way to to run the daemon process with certain extended rights (which would they be?), as I would feel much more comfortable not to use the root account for such purposes?
(This post was last modified: 12-23-2008 09:41 AM by kts.)
12-23-2008 09:40 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: Running ispcp without root privileges
I don't know if this works.
After all - the perl scripts (engine) has to have write privileges to some other daemon config (apache-config, proftpd-config, postfix-config etc) and - one of the engine scripts must have the right to create an remove system users.

So, if you find a user/group other than root to create users - you'll be on a good way.

/J
12-23-2008 10:01 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kts Offline
Newbie
*

Posts: 5
Joined: Dec 2008
Reputation: 0
Post: #5
RE: Running ispcp without root privileges
Alright, thanks a lot!

But I did get it right that it is very common to run ispcp as root, didn't I?
And has anyone ever experienced serious problems with that?
(This post was last modified: 12-23-2008 10:06 AM by kts.)
12-23-2008 10:05 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #6
RE: Running ispcp without root privileges
AFAIK it is common to run such software with root privileges.

It is a tool which does the tasks of a administrator - so it needs the privileges...

Serious problems? Well I never read of such problems here.

/J
12-23-2008 06:43 PM
Visit this user's website Find all posts by this user Quote this message in a reply
kts Offline
Newbie
*

Posts: 5
Joined: Dec 2008
Reputation: 0
Post: #7
RE: Running ispcp without root privileges
Okay, splendid.
Thanks for your help again, very much appreciated.
12-23-2008 10:39 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)