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.

Security of system executables e.g. in /usr/bin/

Discussion in 'Security' started by jack01, Jul 1, 2009.

  1. jack01

    jack01 Well-Known Member

    Joined:
    Jul 21, 2004
    Messages:
    200
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    I would like to know what the implcations would be of setting chmod 700 on all files within /usr/bin/ and perhaps /usr/local/bin/ that are owned by root.root

    If exec() is enabled in PHP some bad things are possible with access to system executables, even with suphp it seems.

    Also, is there any way of limiting the executables on the server that can be run by the php exec() system() etc.?

    Many thanks in advance for any useful pointers.
     
Loading...

Share This Page