1 $DragonFly: src/libexec/smrsh/patches/smrsh.8.patch,v 1.3 2007/04/14 17:43:48 gshapiro Exp $
3 --- sendmail-8.14/smrsh/smrsh.8 2004-08-05 20:55:35.000000000 -0700
4 +++ sendmail/smrsh/smrsh.8 2005-02-13 18:39:14.000000000 -0800
7 limits programs to be in a single directory,
11 allowing the system administrator to choose the set of acceptable commands,
12 and to the shell builtin commands ``exec'', ``exit'', and ``echo''.
13 It also rejects any commands with the characters
15 ``"|exec /usr/local/bin/filter || exit 75"''
17 Initial pathnames on programs are stripped,
18 -so forwarding to ``/usr/ucb/vacation'',
19 -``/usr/bin/vacation'',
20 +so forwarding to ``/usr/bin/vacation'',
21 ``/home/server/mydir/bin/vacation'',
24 all actually forward to
25 -``/usr/adm/sm.bin/vacation''.
26 +``/usr/libexec/sm.bin/vacation''.
28 System administrators should be conservative about populating
31 Compilation should be trivial on most systems.
32 You may need to use \-DSMRSH_PATH=\e"\fIpath\fP\e"
33 to adjust the default search path
34 -(defaults to ``/bin:/usr/bin:/usr/ucb'')
35 +(defaults to ``/bin:/usr/bin'')
36 and/or \-DSMRSH_CMDDIR=\e"\fIdir\fP\e"
37 to change the default program directory
38 -(defaults to ``/usr/adm/sm.bin'').
39 +(defaults to ``/usr/libexec/sm.bin'').
41 /usr/adm/sm.bin \- default directory for restricted programs on most OSs