aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sendmail/smrsh
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/sendmail/smrsh')
-rw-r--r--usr.sbin/sendmail/smrsh/Makefile2
-rw-r--r--usr.sbin/sendmail/smrsh/smrsh.86
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/sendmail/smrsh/Makefile b/usr.sbin/sendmail/smrsh/Makefile
index 1cdf5d987dc2..0572ec608275 100644
--- a/usr.sbin/sendmail/smrsh/Makefile
+++ b/usr.sbin/sendmail/smrsh/Makefile
@@ -2,7 +2,7 @@
PROG= smrsh
MAN8= smrsh.8
-CFLAGS+=-I${.CURDIR}/../src -DNDBM -DNEWDB
+CFLAGS+=-I${.CURDIR}/../src -DNEWDB
BINDIR= /usr/libexec
.include <bsd.prog.mk>
diff --git a/usr.sbin/sendmail/smrsh/smrsh.8 b/usr.sbin/sendmail/smrsh/smrsh.8
index bed2417075d3..9615bf69cd64 100644
--- a/usr.sbin/sendmail/smrsh/smrsh.8
+++ b/usr.sbin/sendmail/smrsh/smrsh.8
@@ -30,7 +30,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" @(#)smrsh.8 8.1 (Berkeley) 11/13/94
+.\" @(#)smrsh.8 8.2 (Berkeley) 1/9/96
.\"
.TH SMRSH 8 11/02/93
.SH NAME
@@ -62,8 +62,8 @@ limits programs to be in the directory
/usr/libexec/sm.bin,
allowing the system administrator to choose the set of acceptable commands.
It also rejects any commands with the characters
-`\`', `<', `>', `|', `;', `&', `$', `(', `)', `\r' (carriage return),
-or `\n' (newline)
+`\`', `<', `>', `|', `;', `&', `$', `(', `)', `\er' (carriage return),
+or `\en' (newline)
on the command line to prevent ``end run'' attacks.
.PP
Initial pathnames on programs are stripped,