Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 May 2002 12:41:37 +1000 (EST)
From:      Andrew <andrew@ugh.net.au>
To:        default013 subscriptions <default013subscriptions@hotmail.com>
Cc:        jeff@boris.st.hmc.edu, <freebsd-questions@freebsd.org>
Subject:   Re: Restricting PS Use
Message-ID:  <20020503124007.K30451-100000@starbug.ugh.net.au>
In-Reply-To: <F160k71GHCLHcmSvOha00005fb3@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020503124007.K30451-100000>