mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
27 lines
903 B
Groff
27 lines
903 B
Groff
--- smrsh/smrsh.8.orig 2023-02-09 18:24:38 UTC
|
|
+++ smrsh/smrsh.8
|
|
@@ -39,7 +39,7 @@ by default
|
|
.I smrsh
|
|
limits programs to be in a single directory,
|
|
by default
|
|
-/usr/adm/sm.bin,
|
|
+/usr/libexec/sm.bin,
|
|
allowing the system administrator to choose the set of acceptable commands,
|
|
and to the shell builtin commands ``exec'', ``exit'', and ``echo''.
|
|
It also rejects any commands with the characters
|
|
@@ -50,13 +50,12 @@ Initial pathnames on programs are stripped,
|
|
``"|exec /usr/local/bin/filter || exit 75"''
|
|
.PP
|
|
Initial pathnames on programs are stripped,
|
|
-so forwarding to ``/usr/ucb/vacation'',
|
|
-``/usr/bin/vacation'',
|
|
+so forwarding to ``/usr/bin/vacation'',
|
|
``/home/server/mydir/bin/vacation'',
|
|
and
|
|
``vacation''
|
|
all actually forward to
|
|
-``/usr/adm/sm.bin/vacation''.
|
|
+``/usr/libexec/sm.bin/vacation''.
|
|
.PP
|
|
System administrators should be conservative about populating
|
|
the sm.bin directory.
|