[CentOS] server is always getting hacked

Wed Jul 1 22:59:36 UTC 2009
Warren Young <warren at etr-usa.com>

Frank Cox wrote:
> On Wed, 01 Jul 2009 15:05:58 -0700
> Gary Greene wrote:
> 
>> . With sudo,
>> you get a record of what command was executed with superuser rights by whom
>> at whenever given hour.
> 
> sudo bash

If that's a problem for you, don't let people run bash via sudo. 
There's an entire body of articles and such on which processes to 
restrict because they can give you a sub-shell.