From owner-freebsd-questions Thu May 2 19:41:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from starbug.ugh.net.au (starbug.ugh.net.au [203.31.238.37]) by hub.freebsd.org (Postfix) with ESMTP id 0523B37B416 for ; Thu, 2 May 2002 19:41:40 -0700 (PDT) Received: by starbug.ugh.net.au (Postfix, from userid 1000) id E504DA804; Fri, 3 May 2002 12:41:37 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by starbug.ugh.net.au (Postfix) with ESMTP id E35E4542D; Fri, 3 May 2002 12:41:37 +1000 (EST) Date: Fri, 3 May 2002 12:41:37 +1000 (EST) From: Andrew To: default013 subscriptions Cc: jeff@boris.st.hmc.edu, Subject: Re: Restricting PS Use In-Reply-To: Message-ID: <20020503124007.K30451-100000@starbug.ugh.net.au> X-WonK: *wibble* 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 On Thu, 2 May 2002, default013 subscriptions wrote: > I wish I could do the sysctl thing, but I am using FreeBSD 4.1 ... > Apparently there is no setting for that in my distribution. > > I will give the other way a shot, but... am I right in assuming that I won't > be able to use the sysctl answer? ... I wonder if I could just upgrade > sysctl... No good just upgrading the sysctl command...its the kernel where the sysctls actually live so you would want to do a full OS upgrade for that. You could easily (I would think) just hack the ps source to do that, add an extra argument to show all processes and make sure that only root is allowed to use that argument. Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message