ps -awux

Kövesdán Gábor gabor.kovesdan at t-hosting.hu
Wed Jul 20 13:12:45 GMT 2005


Akhthar Parvez. K wrote:

>Hello,
>
>When I run the command ps -awux from a user's bash shell(not root), it's 
>listing the processes under the particular user only. Can anyone tell me why?
>
>  
>
You must have these two sysctls set to 0:

security.bsd.see_other_gids
security.bsd.see_other_uids

This prevents that users see processes running under another uid.

Or You  must have mac_seeotheruids MAC module enabled. This module is 
for hardening the previous two sysctls.

Cheers,

Gábor Kövesdán


More information about the freebsd-questions mailing list