diff options
author | pst <pst@FreeBSD.org> | 1996-05-22 05:43:30 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1996-05-22 05:43:30 +0000 |
commit | 501579ff4d8385cfd9375d38bb9516624a68df61 (patch) | |
tree | f88049980a97ceb8535582fad3d63cd0e0bd4560 /etc | |
parent | f353351aebebad16e680f8ce48141186666a2a4c (diff) | |
download | FreeBSD-src-501579ff4d8385cfd9375d38bb9516624a68df61.zip FreeBSD-src-501579ff4d8385cfd9375d38bb9516624a68df61.tar.gz |
Eliminate warning message and add big warnings about security holes
Diffstat (limited to 'etc')
-rw-r--r-- | etc/daily | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -20,9 +20,10 @@ if [ -d /var/rwho ] ; then fi cd /tmp -# This is not safe, you need to decide what is appropriate for your -# system. Leave a warning note for now. -echo "You did not enable the cleaning of / in /etc/daily!" + +# This is a security hole, never use 'find' on a public directory +# with -exec rm -f as root. This can be exploited to delete any file +# on the system. # #find / ! -fstype local -a -prune -o \ # \( -name '[#,]*' -o -name '.#*' -o -name a.out -o -name *.core \ |