Equivalent Kernel parameter in HP-UX

Hi,

May I pls. know what would be the equivalent kernel parameter in HP-UX for the below Linux kernel parameter.

sysctl kern.ps_showallprocs - This setting in Linux would let users see their own processes in "ps".

Thanks,
Narasimha

I have not heard of that parameter in reference to Linux. A web search shows that it is available on on some BSD versions though. And what it does is to restrict non-root users to seeing only processes owned by the user. I do not know of any way to do that in HP-UX. Even if you write your own version of ps and install that, a non-root user could still access the pstat family of system calls via a C program or perl script to see other users processes. And a C compiler and perl interpreter and standard components of HP-UX. Converting HP-UX to a trusted system (C2 level security) will not help this although you could then audit accesses to the ps command and invocations of the pstat system calls.