Bugtraq mailing list archives

Re: Troff dangerous.


From: moore () LOVECRAFT CHEM CMU EDU (Eric Moore)
Date: Mon, 26 Jul 1999 02:38:09 -0400


Another, perhaps less intrusive/time consuming alternative is to
change the TROFF and NROFF lines in /etc/man.conf with:

TROFF           /usr/bin/groff -S -Tps -mandoc
NROFF           /usr/bin/groff -S -Tascii -mandoc

(that is, add the -S switch)

       -S     Safer mode.  Pass the -S option to pic and use  the
              -msafer macros with troff.

see also "man 7 msafer"

  -Eric


Current thread: