summaryrefslogtreecommitdiff
path: root/sys/man/8
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2022-07-26 04:57:40 +0000
committerOri Bernstein <ori@eigenstate.org>2022-07-26 04:57:40 +0000
commitbc64cc50ac468ea8d1017fc8d3a761b7926d9fe0 (patch)
tree44b8994450a596a0761406b080c3a0e82827dacc /sys/man/8
parent520a39efcd135556b21e196bfd64802fd3236ce1 (diff)
auth/box: preserve cwd name, but clear it out
Auth/box previously switched to /, rather than preserving the cwd. This would break relative paths to items that would get pulled into the namespace. This change removes the '-.' flag, and causes auth/box to keep the current working directory, making it more usable for scripting.
Diffstat (limited to 'sys/man/8')
-rw-r--r--sys/man/8/auth7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/man/8/auth b/sys/man/8/auth
index 9c80885b9..f0c4cd2ac 100644
--- a/sys/man/8/auth
+++ b/sys/man/8/auth
@@ -62,7 +62,7 @@ changeuser, convkeys, printnetkey, status, enable, disable, authsrv, guard.srv,
.PP
.B auth/box
[
-.B -d
+.B -s
] [
.B -rc
.I file
@@ -298,9 +298,8 @@ the child namespace; the
flag specifies a string of driver
characters to keep. The
.B -s
-flag gives a base set of namespace
-components, ones expected by rc, then passes
-the first argument as a script file to rc.
+flag initializes the namespace to what rc expects,
+and passes its arguments unmodified to /bin/rc.
.PP
.I As
executes