The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

3rdparty system user

Discussion in 'cPanel Developers' started by braweb, Jul 7, 2014.

  1. braweb

    braweb Member

    Joined:
    Dec 20, 2004
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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,
     
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    It would be better to just install your own version of roundcube into whatever cPanel account you're working on. You may also want to look at this:

    Customizing Roundcube Webmail
     
  3. braweb

    braweb Member

    Joined:
    Dec 20, 2004
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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,
     
  4. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    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.
     
  5. braweb

    braweb Member

    Joined:
    Dec 20, 2004
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Colombia
    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.
     
  6. ThinIce

    ThinIce Well-Known Member

    Joined:
    Apr 27, 2006
    Messages:
    346
    Likes Received:
    7
    Trophy Points:
    18
    Location:
    Disillusioned in England
    cPanel Access Level:
    Root Administrator
  7. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider

    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.
     
Loading...
Similar Threads - 3rdparty system user
  1. ltellier
    Replies:
    2
    Views:
    93

Share This Page