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!

how to disable all shell (and keep root)

Discussion in 'General Discussion' started by josh88, Jun 5, 2007.

  1. josh88

    josh88 Member

    Joined:
    Apr 6, 2007
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    151
    Hello,
    i would like to disable in a single script or 1 button click all the users shell access,
    how can i do that?

    Thank you,
    Joseph
     
  2. eNetHosts

    eNetHosts Well-Known Member

    Joined:
    Apr 21, 2007
    Messages:
    191
    Likes Received:
    0
    Trophy Points:
    166
    Just don't give your users shell privilleges when you create a new account via WHM and remove it from their cPanel using the feature manager.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    166
    Edit your features disable list and disable shell server wide in there. This will also update any packages that others may have created with shell and remove that option as well. Also check your reseller privileges and be sure the highlighted (red) options that include shell are disabled as well.

    Also I recommend updating cpanel afterward.
     
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