RC.CHK

Section: User Commands (1)
Updated: December 31, 1989
Index Return to Main Contents
 

NAME

rc.chk - Checks contents of /etc/rc* file(s) for potential 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 approximation 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.


 

Index

NAME
SYNOPSIS
DESCRIPTION
FILES
BUGS

This document was created by man2html, using the manual pages.
Time: 23:44:34 GMT, February 06, 2023