Index | Thread | Search

From:
Kirill Miazine <km@krot.org>
Subject:
mention that ps -e doesn't show other users' env
To:
tech@openbsd.org
Date:
Mon, 23 Sep 2024 11:55:25 +0200

Download raw body.

Thread
Let's document that ps -e doesn't show other users' env for normal
users.

Wording similar to ps(1) in NetBSD in
http://cvsweb.netbsd.org/bsdweb.cgi/src/bin/ps/ps.1?rev=1.32&content-type=text/x-cvsweb-markup&only_with_tag=MAIN

Index: bin/ps/ps.1
===================================================================
RCS file: /cvs/src/bin/ps/ps.1,v
retrieving revision 1.137
diff -u -p -r1.137 ps.1
--- bin/ps/ps.1	21 Aug 2024 03:07:45 -0000	1.137
+++ bin/ps/ps.1	23 Sep 2024 09:50:26 -0000
@@ -85,6 +85,8 @@ scripts will show as
 .Dq sh .
 .It Fl e
 Display the environment as well.
+The environment for other users' processes can only be displayed by the
+super-user.
 .It Fl f
 Arrange processes into a tree.
 Each command is ordered and prefixed with indentation text