aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2002-02-05 01:23:14 +0000
committerFrederic Lepied <flepied@mandriva.com>2002-02-05 01:23:14 +0000
commit82db778dc442bef91a03d65bb6ec907d04e0755f (patch)
tree7291a74c561c8abdd1b72f15687e03c798437c0d
parent32cc303c6bb9d4de5e13b571663b968240bf5eb4 (diff)
downloadmsec-82db778dc442bef91a03d65bb6ec907d04e0755f.tar
msec-82db778dc442bef91a03d65bb6ec907d04e0755f.tar.gz
msec-82db778dc442bef91a03d65bb6ec907d04e0755f.tar.bz2
msec-82db778dc442bef91a03d65bb6ec907d04e0755f.tar.xz
msec-82db778dc442bef91a03d65bb6ec907d04e0755f.zip
use nobody instead of nogroup
-rwxr-xr-xcron-sh/security_check.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/cron-sh/security_check.sh b/cron-sh/security_check.sh
index 2b300ba..d3de842 100755
--- a/cron-sh/security_check.sh
+++ b/cron-sh/security_check.sh
@@ -45,10 +45,10 @@ if [[ ${CHECK_UNOWNED} == yes ]]; then
if [[ -s ${UNOWNED_GROUP_TODAY} ]]; then
printf "\nSecurity Warning : Group Unowned files found :\n" >> ${SECURITY}
- printf "\t( theses files now have group \"nogroup\" as their group owner. )\n" >> ${SECURITY}
+ printf "\t( theses files now have group \"nobody\" 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 nogroup "${line}"; # Use quote if filename contain space.
+ chgrp nobody "${line}"; # Use quote if filename contain space.
done
fi
fi