aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh/scripts
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2010-02-22 17:33:47 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2010-02-22 17:33:47 +0000
commiteae26e1072e6111dd7e8a629c985754482125d1d (patch)
tree5ba137cbb8e6bdb5f85f18f9c1faedffd3baa74f /cron-sh/scripts
parent9d55cf2855e8b9be0c644f0e4e5be545edca6d88 (diff)
downloadmsec-eae26e1072e6111dd7e8a629c985754482125d1d.tar
msec-eae26e1072e6111dd7e8a629c985754482125d1d.tar.gz
msec-eae26e1072e6111dd7e8a629c985754482125d1d.tar.bz2
msec-eae26e1072e6111dd7e8a629c985754482125d1d.tar.xz
msec-eae26e1072e6111dd7e8a629c985754482125d1d.zip
correctly check for changes in groups
Diffstat (limited to 'cron-sh/scripts')
-rwxr-xr-xcron-sh/scripts/05_access.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/cron-sh/scripts/05_access.sh b/cron-sh/scripts/05_access.sh
index f256b7d..2af0d2d 100755
--- a/cron-sh/scripts/05_access.sh
+++ b/cron-sh/scripts/05_access.sh
@@ -37,7 +37,7 @@ fi
# check for changes in groups
if check_is_enabled "${CHECK_GROUPS}" ; then
- getent passwd | cut -f 1 -d : | sort > ${GROUPS_LIST_TODAY}
+ getent group | cut -f 1 -d : | sort > ${GROUPS_LIST_TODAY}
Filter ${GROUPS_LIST_TODAY} CHECK_GROUPS
Diffcheck ${GROUPS_LIST_TODAY} ${GROUPS_LIST_YESTERDAY} ${GROUPS_LIST_DIFF} "local groups"
Count ${INFOS} ${GROUPS_LIST_TODAY} "Total local group"