File:  [NetBSD Developer Wiki] / wikisrc / tutorials / hide_other_user__39__s_processes.mdwn
Revision 1.1: download - view: text, annotated - select for diffs
Mon Nov 21 03:22:58 2011 UTC (5 years, 3 months ago) by mspo
Branches: MAIN
CVS tags: HEAD
finish importing the pages from my findings in the wiki

#  Introduction 

Normally a user can use the **ps** command to see any process running on a system.  
A nice additional security measure is to hide these processes.   
A user may be able to "see" only her own processes thanks to the **security.curtain** sysctl option. 

#  Execution

Run following command as a user with root privileges: 
    # sysctl -w security.curtain=1

Now type as normal user: 
    # ps auxww

You should be able to see only processes belonging to your user. 


CVSweb for NetBSD wikisrc <> software: FreeBSD-CVSweb