Eliminate warning message and add big warnings about security holes

This commit is contained in:
Paul Traina 1996-05-22 05:43:30 +00:00
parent 93d52b3c56
commit 602cb7a629
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=15859

View File

@ -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 \