


RC.CHK(1)                                               RC.CHK(1)


NAME
       rc.chk   -  Checks contents of /etc/rc* file(s) for poten-
       tial danger.

SYNOPSIS
       rc.chk

DESCRIPTION
       rc.chk checks pathnames and files inside the shell  script
       files  /etc/rc*  (e.g.  /etc/rc,  /etc/rc.local, etc.) for
       writability.  It filters out all paths or files that  have
       a  /tmp,  /dev/null,  or /dev/*ty, plus everything after a
       ">"; e.g. if crontab is writing to a file it doesn't care.

FILES
       /etc/rc*

BUGS
       Awk  runs  out of room ("bails out") if too many files are
       found in the /etc/rc* files.

       Spurious messages can occur -- rc.chk only uses a approxi-
       mation  of  which files should be checked.  Also, Unless a
       file has a full pathname (i.e. begins with a "/", it  will
       not be checked for writability.
































                        December 31, 1989                       1


