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.

About Shell

Discussion in 'General Discussion' started by Tymsah, Feb 3, 2008.

  1. Tymsah

    Tymsah Well-Known Member

    Joined:
    Apr 6, 2007
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hi,

    i want to disable some shell commands for Shell users.
    (wget , ping ..)



    Regards,
    Tymsah
     
  2. ToddShipway

    ToddShipway Well-Known Member

    Joined:
    Nov 13, 2006
    Messages:
    300
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Houston, TX
    Hello,

    This can be done by changing the permissions on each file to be executable by root only. Be sure there is nothing on the user level that will require any of the binaries before changing permissions.
     
  3. astopy

    astopy Well-Known Member

    Joined:
    Apr 3, 2003
    Messages:
    165
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    If the only things you want to disable are network-related, you'd be better off just configuring your firewall.
     
Loading...

Share This Page