From owner-freebsd-questions Thu Jan 31 5:28:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smnolde.com (att-98-60-141.atl.mediaone.net [24.98.60.141]) by hub.freebsd.org (Postfix) with ESMTP id C75B337B405 for ; Thu, 31 Jan 2002 05:28:36 -0800 (PST) Received: from bsd ([192.168.10.7]) by smnolde.com with esmtp (Exim 3.30 #1) id 16WHGW-0003JC-00; Thu, 31 Jan 2002 08:28:36 -0500 Date: Thu, 31 Jan 2002 08:28:35 -0500 (EST) From: Scott Nolde To: ekoz Cc: Subject: Re: ps -aux In-Reply-To: <021901c1aa11$fe562930$d4e18aca@melsa.net.id> Message-ID: <20020131082736.T2694-100000@bsd.smnolde.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Thus sayeth the previous author: >Date: Thu, 31 Jan 2002 11:44:39 +0700 >From: ekoz >To: freebsd-questions@FreeBSD.ORG >Subject: ps -aux > >Hi All, > >I have a silly question..:) , How to make "ps -aux" only show user's process not all the process and how to make my shell server more secure. By the way , its about 10 to 20 user log in to my server. > >TIA >ekoz > Perhaps doing a sysctl -w kern.ps_showallprocs=0 will help. That sysctl will allow a user to see only his/her processes only. The root user can view all processes. Scott Nolde GPG Key 0xD869AB48 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message