Re: getting ps to not display all processes for normal users
On Thu, May 24, 2001 at 08:09:43PM +0200, Alwyn Schoeman wrote:
> How can I make ps so that it doesn't display all processes for normal users?
> ps aux would thus still only show that specific users processes.
Ummm... Use `ps ux` instead?
>From man ps:
a Select all processes on a terminal, including those of other users
If you're looking for a way to globally disable the 'a' option, so that
your users aren't allowed to see each other's processes, you'll probably
have to hack the source.
--
That's not gibberish... It's Linux. - Byers, The Lone Gunmen
Geek Code 3.12: GCS d? s+: a C++ UL++++$ P++>+++ L+++>++++ E- W--(++) N+
o+ !K w--- O M- V? PS+ PE Y+ PGP t 5++ X+ R++ tv+ b+ DI++++ D G e* h r y+
Reply to: