Date: Wed, 24 Nov 1999 00:54:15 +0100 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: Brian Somers <brian@Awfulhak.org> Cc: Dan Nelson <dnelson@emsphone.com>, Forrest Aldrich <forrie@forrie.com>, freebsd-current@FreeBSD.ORG, security@FreeBSD.ORG Subject: Re: ps on 4.0-current Message-ID: <31375.943401255@critter.freebsd.dk> In-Reply-To: Your message of "Tue, 23 Nov 1999 23:52:49 GMT." <199911232352.XAA01547@hak.lan.Awfulhak.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <199911232352.XAA01547@hak.lan.Awfulhak.org>, Brian Somers writes: >> In the last episode (Nov 23), Brian Somers said: >> > $ ps jtva >> > USER PID PPID PGID SESS JOBC STAT TT TIME COMMAND >> > root 222 1 222 9dac40 0 Is+ va 0:00.01 (getty) >> > $ sudo ps jtva >> > USER PID PPID PGID SESS JOBC STAT TT TIME COMMAND >> > root 222 1 222 9dac40 0 Is+ va 0:00.01 /usr/libexec/getty Pc tt >> > $ head -1 /etc/motd >> > FreeBSD 4.0-CURRENT (HAK) #9: Mon Nov 22 01:09:55 GMT 1999 >> > >> > This looks a bit wrong.... >> >> Now that does look weird. After a bit more investigation, it looks >> like you can only get the full commandline of your own processes. Root >> can see all commandlines. >Any comments Poul ? Is this anything to do with the recent command >line buffering ? Yes, I changed it to this behaviour at warners asking (I think he had the security-meister hard-hat on at the time). I'm personally leaning towards the opinion that the argv is public property and should be visible, but then again, I can see the point in hiding it in some circumstances. I'll stick a sysctl in there which defaults to the "open" position and people who need to hide it can set it to "close" to do so. Will this satisfy everybody ? Warner ? -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31375.943401255>