braweb

Member
Dec 20, 2004
20
0
151
Colombia
I see that Roundcube runs in cPanel with the user "cpanelroundcube". Where is it configured?

I'm working in a 3rdparty application that require to run with a specific user and not with the cPanel logged user. How can I do that?

Thanks,
 

braweb

Member
Dec 20, 2004
20
0
151
Colombia
Hi Vannessa,

Roundcube is just an example, I want to use a different application we are developong but I want this runs with a specific user and be available to all users as roundcube is.

Thanks,
 

vanessa

Well-Known Member
PartnerNOC
Sep 26, 2006
959
76
178
Virginia Beach, VA
cPanel Access Level
DataCenter Provider
When you access Roundcube through cPanel, cPanel loads an environment as the cpanelroundcube user. Roundcube is just a PHP application, and it runs as whatever user is invoking it just like any other application you would install on your website.

The files for Roundcube are located in /usr/local/cpanel/base/3rdparty/roundcube - you may be able to add a custom alias to load it from this location but since you haven't really clarified what you're trying to do, not sure how to actually help you. You may be able to get away with changing the username associated with the cpanelroundcube user's ID in /etc/passwd, but I don't know what other problems this would cause and I'm certain cPanel updates will overwrite this.
 

braweb

Member
Dec 20, 2004
20
0
151
Colombia
When you access Roundcube through cPanel, cPanel loads an environment as the cpanelroundcube user.
in what file cPanel specify to load the environment as cpanelroundcube user? it's what I need.

My other 3rdparty application is not Roundcube, is another webmail and I want this 3rdparty application also loads the environment as the "anotherwebmail" user that I created in my system.
 

vanessa

Well-Known Member
PartnerNOC
Sep 26, 2006
959
76
178
Virginia Beach, VA
cPanel Access Level
DataCenter Provider
in what file cPanel specify to load the environment as cpanelroundcube user? it's what I need.

My other 3rdparty application is not Roundcube, is another webmail and I want this 3rdparty application also loads the environment as the "anotherwebmail" user that I created in my system.

You can't - this is handled within a compiled CGI used by cPanel. If you are trying to add another webmail application, use the link that Thinice provided.