pass phrase

Chuck Robey chuckr@picnic.mat.net
Thu, 20 Jan 2000 17:29:17 -0500 (EST)


On Thu, 20 Jan 2000, Chuck Robey wrote:


> On Thu, 20 Jan 2000, Frank Tobin wrote:
>
> > Chuck Robey, at 13:36 on Thu, 20 Jan 2000, wrote:
> >
> > > Isn't there a way to suppress the argument listing? I know that, under
> > > FreeBSD current, you can't even see the environment unless you're root or
> > > the owning user.
> >
> > In FreeBSD-STABLE, the only reason you are able to see the arguments of
> > other people's processes is because programs such as 'ps' and 'top' are
> > setgid "kmem"; without kernel-memory access via the group kmem, you can
> > only read the arguments of your vectors.
>
> Yeah, that was changed in current. There was serious discussion about
> removing all access to the environment and args from ps, but it was
> considered too important to sys admins to take it all out, so it was
> limited to root and the owning user. ps isn't setgid kmem anymore.
Let me edit myself, because that last statement is wrong. Ps used to get it's stuff from /proc, that's changed. It IS setgid, but does only show the environment if you're the process owner or root (in -current). ---------------------------------------------------------------------------- Chuck Robey | Interests include C & Java programming, New Year's Resolution: I | electronics, communications, and will not sphroxify gullible| signal processing. people into looking up | I run picnic.mat.net: FreeBSD-current(i386) and fictitious words in the | jaunt.mat.net : FreeBSD-current(Alpha)| dictionary. | ----------------------------------------------------------------------------