-# $OpenBSD: Makefile,v 1.2 2000/04/02 19:48:36 millert Exp $
+# $OpenBSD: Makefile,v 1.3 2000/04/11 07:31:32 form Exp $
PROG= smrsh
MAN= smrsh.8
ENVDEF+=-DNOT_SENDMAIL -DCMDDIR=\"/usr/libexec/sm.bin\"
+BINDIR= /usr/libexec
WANT_LIBSMUTIL=1
.\"
.\"
.\" $Sendmail: smrsh.8,v 8.11 1999/06/09 16:51:07 ca Exp $
+.\" $OpenBSD: smrsh.8,v 1.2 2000/04/11 07:31:32 form Exp $
.\"
.TH SMRSH 8 11/02/93
.SH NAME
Briefly,
.I smrsh
limits programs to be in the directory
-/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
and
``vacation''
all actually forward to
-``/usr/adm/sm.bin/vacation''.
+``/usr/libexec/sm.bin/vacation''.
.PP
System administrators should be conservative about populating
-/usr/adm/sm.bin.
+/usr/libexec/sm.bin.
Reasonable additions are
.IR vacation (1),
.IR procmail (1),
Compilation should be trivial on most systems.
You may need to use \-DPATH=\e"\fIpath\fP\e"
to adjust the default search path
-(defaults to ``/bin:/usr/bin:/usr/ucb'')
+(defaults to ``/bin:/usr/bin'')
and/or \-DCMDBIN=\e"\fIdir\fP\e"
to change the default program directory
-(defaults to ``/usr/adm/sm.bin'').
+(defaults to ``/usr/libexec/sm.bin'').
.SH FILES
-/usr/adm/sm.bin \- directory for restricted programs
+/usr/libexec/sm.bin \- directory for restricted programs
.SH SEE ALSO
sendmail(8)