mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-25 03:54:17 +01:00
Eliminate warning message and add big warnings about security holes
This commit is contained in:
parent
93d52b3c56
commit
602cb7a629
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=15859
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user