freebsd-ports/mail/sendmail/files/patch-smrsh.8
Dirk Meyer 9833798928 - update to 8.14.3
- split patch into seperate files
2008-05-04 11:23:02 +00:00

27 lines
896 B
Groff

--- smrsh/smrsh.8.orig 2004-08-06 05:55:35.000000000 +0200
+++ smrsh/smrsh.8 2008-05-04 11:55:42.000000000 +0200
@@ -39,7 +39,7 @@
.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 @@
``"|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.