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.

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:
    6
    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:
    36
    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.
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    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).
     
  4. brianoz

    brianoz Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,146
    Likes Received:
    6
    Trophy Points:
    38
    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.
     
Loading...

Share This Page