Tuesday, December 20, 2005

Solaris: How to limit display of other user's processes

On Solaris10, it is possible to allow user only see their own processes by command
ps -aef

Following is how to configure it.
1)to set limit globally edit /etc/security/policy.conf file and uncomment PRIV_DEFAULT line
set its value as
PRIV_DEFAULT=basic,!proc_info

2)to set limit per user basis
edit /etc/user_attr and add following entry
gmb::::lock_after_retries=no;defaultpriv=basic

0 Comments:

Post a Comment

<< Home