From owner-freebsd-questions Mon Mar 25 6:23:28 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mobil.cz (diana.mobil.cz [194.228.200.160]) by hub.freebsd.org (Postfix) with ESMTP id 9D56237B400 for ; Mon, 25 Mar 2002 06:23:22 -0800 (PST) Received: from ester.mobil.cz (ester.mobil.cz [194.213.62.23]) by mobil.cz (8.11.6/8.11.0) with ESMTP id g2PENDH19199; Mon, 25 Mar 2002 15:23:14 +0100 Received: from roman.mobil.cz ([10.2.0.89]) by ester.mobil.cz (Lotus Domino Release 5.0.9a) with ESMTP id 2002032515230368:4390 ; Mon, 25 Mar 2002 15:23:03 +0100 Received: (from roman@localhost) by roman.mobil.cz (8.11.6/8.11.6) id g2PEbOH10145; Mon, 25 Mar 2002 15:37:24 +0100 (CET) (envelope-from neuhauser@mobil.cz) X-Authentication-Warning: roman.mobil.cz: roman set sender to neuhauser@mobil.cz using -f Date: Mon, 25 Mar 2002 15:37:24 +0100 From: Roman Neuhauser To: Nelis Lamprecht Cc: freebsd-questions@freebsd.org Subject: Re: hiding processes from users? Message-ID: <20020325143724.GQ389@roman.mobil.cz> Mail-Followup-To: Nelis Lamprecht , freebsd-questions@freebsd.org References: <5.1.0.14.2.20020325160949.0138a888@192.96.48.11> Mime-Version: 1.0 In-Reply-To: <5.1.0.14.2.20020325160949.0138a888@192.96.48.11> User-Agent: Mutt/1.3.26i X-MIMETrack: Itemize by SMTP Server on ester/Mobil(Release 5.0.9a |January 7, 2002) at 03/25/2002 03:23:03 PM, Serialize by Router on ester/Mobil(Release 5.0.9a |January 7, 2002) at 03/25/2002 03:23:11 PM, Serialize complete at 03/25/2002 03:23:11 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Date: Mon, 25 Mar 2002 16:13:32 +0200 > To: freebsd-questions@freebsd.org > From: Nelis Lamprecht > Subject: hiding processes from users? > > Hi > > I know that it is possible to hide system processes so that normal users > will only be able to see their own in fbsd but I don't know how. please > help. # sysctl kern.ps_showallprocs=0 # echo 'kern.ps_showallprocs=0' >> /etc/sysctl.conf the first will disable listing of processes not belonging to the respective user, effective immediatelly, until reboot. the latter will make it permanent. -- FreeBSD 4.4-STABLE 3:32PM up 23:18, 13 users, load averages: 0.02, 0.14, 0.15 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message