Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

attach user to command

Discussion in 'General Discussion' started by SetLar8, Mar 1, 2006.

  1. SetLar8

    SetLar8 Well-Known Member

    Joined:
    Mar 5, 2004
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    156
    Hi,

    When viewing processors in CPU usage the process owner shows as nobody. Is it possible to show the user this belongs to instead?

    Thanks.
     
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    166
    The process owner will be the actual system user to which the process belongs. This is not something that can or should be changed.

    Unless, of course, all processes are listed as being owned by 'nobody', in which case something might be wrong.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,470
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    ...and the nobody user is apache on a cPanel server - in particular web page handling and, in the case of CGI scripts (if you don't have suexec enabled), and php scripts (if you don't have phpsuexec enabled).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. brianoz

    brianoz Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,146
    Likes Received:
    6
    Trophy Points:
    168
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    Yes, it is possible, and the best way is to enable "PHPSUEXEC" and "suexec" which will have apache processes run under the user account that started them. There are some issues with converting, but most people never look back (I haven't). Search these forums for more detailed answers.

    By the way, PHPsuexec/suexec also help track down spammers/phishers operating on your server, and help workout who is starting runaway processes. It's worth doing for those reasons alone - it will save you hours of admin time in the future.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice