Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc Use "groff -S -Tascii" instead of "nroff" to avoid secur...



details:   https://anonhg.NetBSD.org/src/rev/3f10c77b8e06
branches:  trunk
changeset: 474927:3f10c77b8e06
user:      tron <tron%NetBSD.org@localhost>
date:      Mon Jul 26 18:42:21 1999 +0000

description:
Use "groff -S -Tascii" instead of "nroff" to avoid security problems
if "man" is used by "root". Fixes PR security/8069 by Matthias Buelow.

diffstat:

 etc/man.conf |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (30 lines):

diff -r eb75c40562f1 -r 3f10c77b8e06 etc/man.conf
--- a/etc/man.conf      Mon Jul 26 18:39:06 1999 +0000
+++ b/etc/man.conf      Mon Jul 26 18:42:21 1999 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: man.conf,v 1.14 1999/04/04 11:02:09 dante Exp $
+#      $NetBSD: man.conf,v 1.15 1999/07/26 18:42:21 tron Exp $
 
 # Sheer, raging paranoia...
 _version       BSD.2
@@ -18,13 +18,13 @@
 _suffix                .0
 _build         .0.Z            /usr/bin/zcat %s
 _build         .0.gz           /usr/bin/gunzip -c %s
-_build         .[1-9ln]        /usr/bin/nroff -man %s
-_build         .[1-9ln].Z      /usr/bin/zcat %s | /usr/bin/nroff -man
-_build         .[1-9ln].gz     /usr/bin/gunzip -c %s | /usr/bin/nroff -man
-_build         .tbl            /usr/bin/tbl %s | /usr/bin/nroff -man
-_build         .tbl.Z          /usr/bin/zcat %s | /usr/bin/tbl | /usr/bin/nroff -man
-_build         .tbl.gz         /usr/bin/gunzip -c %s | /usr/bin/tbl | /usr/bin/nroff -man
-_build         .me             /usr/bin/nroff -me %s 2>/dev/null | cat -s
+_build         .[1-9ln]        /usr/bin/groff -S -Tascii -man %s
+_build         .[1-9ln].Z      /usr/bin/zcat %s | /usr/bin/groff -S -Tascii -man
+_build         .[1-9ln].gz     /usr/bin/gunzip -c %s | /usr/bin/groff -S -Tascii -man
+_build         .tbl            /usr/bin/tbl %s | /usr/bin/groff -S -Tascii -man
+_build         .tbl.Z          /usr/bin/zcat %s | /usr/bin/tbl | /usr/bin/groff -S -Tascii -man
+_build         .tbl.gz         /usr/bin/gunzip -c %s | /usr/bin/tbl | /usr/bin/groff -S -Tascii -man
+_build         .me             /usr/bin/groff -S -Tascii -me %s 2>/dev/null | cat -S -Tascii
 
 _crunch                .Z              /usr/bin/compress -c > %s
 _crunch                .gz             /usr/bin/gzip -c > %s



Home | Main Index | Thread Index | Old Index