Thread: Disable sudo -s
View Single Post
  #1 (permalink)  
Old 08-20-2008, 01:46 PM
Wanch Wanch is offline
Senior Member
 
Join Date: Jan 2007
Posts: 140
Wanch is on a distinguished road
Default Disable sudo -s

I have several users on my system that have root ability but I would prefer them to only be able to "sudo <command>" rather than "sudo -s" to root. By preventing them "sudo -s" I think I can prevent them from entering certain directories and such.

How do I disable "sudo -s" access to for certain users or is there a better method for this?
Reply With Quote

Sponsored Links