nrelease - Fix beastie bug w/ gui dvd HAMMER install
[dragonfly.git] / libexec / smrsh / patches / smrsh.8.patch
blob3b0aa812d5151766d3cd49b2ed81074628fe2200
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
5 @@ -39,7 +39,7 @@
6 .I smrsh
7 limits programs to be in a single directory,
8 by default
9 -/usr/adm/sm.bin,
10 +/usr/libexec/sm.bin,
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
14 @@ -50,13 +50,12 @@
15 ``"|exec /usr/local/bin/filter || exit 75"''
16 .PP
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'',
22 and
23 ``vacation''
24 all actually forward to
25 -``/usr/adm/sm.bin/vacation''.
26 +``/usr/libexec/sm.bin/vacation''.
27 .PP
28 System administrators should be conservative about populating
29 the sm.bin directory.
30 @@ -83,10 +82,10 @@
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'').
40 .SH FILES
41 /usr/adm/sm.bin \- default directory for restricted programs on most OSs
42 .PP