aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2002-02-05 02:37:52 +0000
committerFrederic Lepied <flepied@mandriva.com>2002-02-05 02:37:52 +0000
commit11baa47b43a2bae44eca1ff55cb46519464c08c7 (patch)
tree7d936d85e3745f9d13bfaa166f88cbd0f2b23cd7
parent35a0b0a182269d0f0a36d1ac9046dc7175372e08 (diff)
downloadmsec-11baa47b43a2bae44eca1ff55cb46519464c08c7.tar
msec-11baa47b43a2bae44eca1ff55cb46519464c08c7.tar.gz
msec-11baa47b43a2bae44eca1ff55cb46519464c08c7.tar.bz2
msec-11baa47b43a2bae44eca1ff55cb46519464c08c7.tar.xz
msec-11baa47b43a2bae44eca1ff55cb46519464c08c7.zip
corrected typo
-rwxr-xr-xcron-sh/security_check.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/cron-sh/security_check.sh b/cron-sh/security_check.sh
index ea40eac..2b300ba 100755
--- a/cron-sh/security_check.sh
+++ b/cron-sh/security_check.sh
@@ -36,19 +36,19 @@ fi
if [[ ${CHECK_UNOWNED} == yes ]]; then
if [[ -s ${UNOWNED_USER_TODAY} ]]; then
printf "\nSecurity Warning : User Unowned files found :\n" >> ${SECURITY}
- printf "\t( theses files now have user \"nogroup\" as their owner. )\n" >> ${SECURITY}
+ printf "\t( theses files now have user \"nobody\" as their owner. )\n" >> ${SECURITY}
cat ${UNOWNED_USER_TODAY} | awk '{print "\t\t- " $0}' >> ${SECURITY}
cat ${UNOWNED_USER_TODAY} | while read line; do
- chown nogroup "${line}"; # Use quote if filename contain space.
+ chown nobody "${line}"; # Use quote if filename contain space.
done
fi
if [[ -s ${UNOWNED_GROUP_TODAY} ]]; then
printf "\nSecurity Warning : Group Unowned files found :\n" >> ${SECURITY}
- printf "\t( theses files now have group \"nobody\" as their group owner. )\n" >> ${SECURITY}
+ printf "\t( theses files now have group \"nogroup\" as their group owner. )\n" >> ${SECURITY}
cat ${UNOWNED_GROUP_TODAY} | awk '{print "\t\t- " $0}' >> ${SECURITY}
cat ${UNOWNED_GROUP_TODAY} | while read line; do
- chgrp nobody "${line}"; # Use quote if filename contain space.
+ chgrp nogroup "${line}"; # Use quote if filename contain space.
done
fi
fi