File:  [NetBSD Developer Wiki] / wikisrc / tutorials / hide_other_user__39__s_processes.mdwn
Revision 1.2: download - view: text, annotated - select for diffs
Sun Feb 5 07:14:36 2012 UTC (9 years ago) by schmonz
Branches: MAIN
CVS tags: HEAD
dos2unix

    1: #  Introduction 
    2: 
    3: Normally a user can use the **ps** command to see any process running on a system.  
    4: A nice additional security measure is to hide these processes.   
    5: A user may be able to "see" only her own processes thanks to the **security.curtain** sysctl option. 
    6: 
    7: #  Execution
    8: 
    9: Run following command as a user with root privileges: 
   10:     
   11:     # sysctl -w security.curtain=1
   12:     
   13: 
   14: Now type as normal user: 
   15:     
   16:     # ps auxww
   17:     
   18: 
   19: You should be able to see only processes belonging to your user. 
   20: 
   21:   
   22: [[YazzY]]

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb