Skip site navigation (1)Skip section navigation (2)
Date:      18 Sep 1998 12:33:50 +0200
From:      dag-erli@ifi.uio.no (Dag-Erling =?iso-8859-1?Q?Co=EFdan?=  =?iso-8859-1?Q?Sm=F8rgrav?= )
To:        Andrzej Bialecki <abial@nask.pl>
Cc:        Doug White <dwhite@resnet.uoregon.edu>, freebsd-current@FreeBSD.ORG
Subject:   Re: Limit 'ps' to show only user's processes
Message-ID:  <xzp4su56775.fsf@hati.ifi.uio.no>
In-Reply-To: Andrzej Bialecki's message of "Fri, 18 Sep 1998 07:24:12 %2B0200 (CEST)"
References:  <Pine.BSF.4.02A.9809180723160.15340-100000@korin.warman.org.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrzej Bialecki <abial@nask.pl> writes:
> On Thu, 17 Sep 1998, Doug White wrote:
> > So rewire ps to default to -U uid?  Or make it impossible for anyone
> > except the superuser to see all processes?
> Make it impossible. The point is to hide this information from
> non-privileged users, and changing 'ps' only doesn't help much (I cna
> always recompile my own version).

No you can't. ps(1) is setgid kmem.

DES
-- 
Dag-Erling Smørgrav - dag-erli@ifi.uio.no

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzp4su56775.fsf>