Prevent users from running certain commands.

Marti, Robert RJM002 at shsu.edu
Sun Mar 28 16:36:47 UTC 2010


And potentially cause other problems... Even if changing permissions  
on su breaks ps (which I don't think is true) that's a horrible  
solution.

Sent from my iPhone

On Mar 28, 2010, at 11:33, "Sanjay Chakraborty"  
<sanjaychakrab at gmail.com> wrote:

> chmod 100 /bin/su will permit only root to run ps.
>
> On Fri, Mar 19, 2010 at 3:27 PM, Kaydo <kaydo at rice.edu> wrote:
>> Hey guys,
>>
>>
>>
>> I am looking for a way to prevent users from running certain  
>> programs.  For
>> instance, I only want members of a certain group to be able to run  
>> "ps" or
>> any transmutation of it.  What might be a good way to accomplish  
>> this?
>>
>>
>>
>> Thanks guys,
>>
>>
>>
>> - Kaydo
>>
>>
>>
>>
>>
>>
>>
>> --
>> redhat-list mailing list
>> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
>> https://www.redhat.com/mailman/listinfo/redhat-list
>>
>
>
>
> -- 
> Regards.
> Sanjay Chakraborty
>
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list