aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2002-02-05 02:34:25 +0000
committerFrederic Lepied <flepied@mandriva.com>2002-02-05 02:34:25 +0000
commit35a0b0a182269d0f0a36d1ac9046dc7175372e08 (patch)
tree65fcb669c9c3eccf2acfe54b7ecc6b5731332b58 /cron-sh
parent82db778dc442bef91a03d65bb6ec907d04e0755f (diff)
downloadmsec-35a0b0a182269d0f0a36d1ac9046dc7175372e08.tar
msec-35a0b0a182269d0f0a36d1ac9046dc7175372e08.tar.gz
msec-35a0b0a182269d0f0a36d1ac9046dc7175372e08.tar.bz2
msec-35a0b0a182269d0f0a36d1ac9046dc7175372e08.tar.xz
msec-35a0b0a182269d0f0a36d1ac9046dc7175372e08.zip
back to nogroup
Diffstat (limited to 'cron-sh')
-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 d3de842..ea40eac 100755
--- a/cron-sh/security_check.sh
+++ b/cron-sh/security_check.sh
@@ -36,10 +36,10 @@ 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 \"nobody\" as their owner. )\n" >> ${SECURITY}
+ printf "\t( theses files now have user \"nogroup\" as their owner. )\n" >> ${SECURITY}
cat ${UNOWNED_USER_TODAY} | awk '{print "\t\t- " $0}' >> ${SECURITY}
cat ${UNOWNED_USER_TODAY} | while read line; do
- chown nobody "${line}"; # Use quote if filename contain space.
+ chown nogroup "${line}"; # Use quote if filename contain space.
done
fi