summaryrefslogtreecommitdiffstats
path: root/usr.bin/id/id.1
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2006-09-23 12:30:31 +0000
committerrwatson <rwatson@FreeBSD.org>2006-09-23 12:30:31 +0000
commitfae2ccfa41d5a181d178da8b59d06b7c3d775804 (patch)
tree78f27e65805d0dc6de2cda4ecdb967ebc9ec36a7 /usr.bin/id/id.1
parentdc343f5cbde16169ebf770753e74016941d32b88 (diff)
downloadFreeBSD-src-fae2ccfa41d5a181d178da8b59d06b7c3d775804.zip
FreeBSD-src-fae2ccfa41d5a181d178da8b59d06b7c3d775804.tar.gz
Add a -a argument to id(1), which causes id(1) to print out process
audit properties, including the audit user id. This can be quite helpful in debugging audit problems. Obtained from: TrustedBSD Project MFC after: 3 days
Diffstat (limited to 'usr.bin/id/id.1')
-rw-r--r--usr.bin/id/id.15
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.bin/id/id.1 b/usr.bin/id/id.1
index 14b990d..47e2b29 100644
--- a/usr.bin/id/id.1
+++ b/usr.bin/id/id.1
@@ -53,6 +53,8 @@
.Fl P
.Op Ar user
.Nm
+.Fl a
+.Nm
.Fl g Op Fl nr
.Op Ar user
.Nm
@@ -84,6 +86,9 @@ as white-space separated numbers, in no particular order.
Display the MAC label of the current process.
.It Fl P
Display the id as a password file entry.
+.It Fl a
+Display the process audit user ID and other process audit properties, which
+requires privilege.
.It Fl g
Display the effective group ID as a number.
.It Fl n
OpenPOWER on IntegriCloud