diff options
Diffstat (limited to 'mail/sendmail-devel/files/patch-smrsh.8')
-rw-r--r-- | mail/sendmail-devel/files/patch-smrsh.8 | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/mail/sendmail-devel/files/patch-smrsh.8 b/mail/sendmail-devel/files/patch-smrsh.8 new file mode 100644 index 000000000000..5ca6c4c08f98 --- /dev/null +++ b/mail/sendmail-devel/files/patch-smrsh.8 @@ -0,0 +1,27 @@ +--- smrsh/smrsh.8.orig 2014-03-05 00:59:45 UTC ++++ smrsh/smrsh.8 +@@ -39,7 +39,7 @@ Briefly, + .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 @@ It allows ``||'' and ``&&'' to enable co + ``"|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. |