From owner-freebsd-questions Sun Aug 18 11:15:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 67D7337B400 for ; Sun, 18 Aug 2002 11:15:45 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5AFD43E3B for ; Sun, 18 Aug 2002 11:15:44 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.5/8.12.5) id g7IIFgLs055923; Sun, 18 Aug 2002 13:15:42 -0500 (CDT) (envelope-from dan) Date: Sun, 18 Aug 2002 13:15:42 -0500 From: Dan Nelson To: "Jorge Mario G." Cc: freebsd-questions@FreeBSD.ORG Subject: Re: disallowing "ps aux" Message-ID: <20020818181541.GH74231@dan.emsphone.com> References: <20020818173816.31506.qmail@web13805.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020818173816.31506.qmail@web13805.mail.yahoo.com> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i 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 In the last episode (Aug 18), Jorge Mario G. said: > HI > I want disallow the ps aux command for my users > so they cant see all the proceses in the machine > > example if a user types ps aux its should get just his > proceses no the proceses of the entire machine Set the sysctl kern.ps_showallprocs (or security.bsd.see_other_uids if you're running -current) to 0. This is documented in the ps manpage. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message