Prevent users from running certain commands.

Sanjay Chakraborty sanjaychakrab at gmail.com
Sun Mar 28 16:31:31 UTC 2010


fat finugred
chmod 100 /bin/ps NOT /bin/su

On Sun, Mar 28, 2010 at 12:28 PM, 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
>



-- 
Regards.
Sanjay Chakraborty




More information about the redhat-list mailing list