From owner-freebsd-current Fri Sep 18 03:36:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA12249 for freebsd-current-outgoing; Fri, 18 Sep 1998 03:36:58 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA12244 for ; Fri, 18 Sep 1998 03:36:53 -0700 (PDT) (envelope-from dag-erli@ifi.uio.no) Received: from hati.ifi.uio.no (2602@hati.ifi.uio.no [129.240.65.143]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with ESMTP id MAA20956; Fri, 18 Sep 1998 12:33:51 +0200 (MET DST) Received: (from dag-erli@localhost) by hati.ifi.uio.no ; Fri, 18 Sep 1998 12:33:51 +0200 (MET DST) Mime-Version: 1.0 To: Andrzej Bialecki Cc: Doug White , freebsd-current@FreeBSD.ORG Subject: Re: Limit 'ps' to show only user's processes References: Organization: University of Oslo, Department of Informatics X-url: http://www.stud.ifi.uio.no/~dag-erli/ X-other-addresses: 'finger dag-erli@ifi.uio.no' for a list X-disclaimer-1: The views expressed in this article are mine alone, and do X-disclaimer-2: not necessarily coincide with those of any organisation or X-disclaimer-3: company with which I am or have been affiliated. X-Stop-Spam: http://www.cauce.org/ From: dag-erli@ifi.uio.no (Dag-Erling =?iso-8859-1?Q?Co=EFdan?= =?iso-8859-1?Q?Sm=F8rgrav?= ) Date: 18 Sep 1998 12:33:50 +0200 In-Reply-To: Andrzej Bialecki's message of "Fri, 18 Sep 1998 07:24:12 +0200 (CEST)" Message-ID: Lines: 13 X-Mailer: Gnus v5.5/Emacs 19.34 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id DAA12245 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Andrzej Bialecki 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