Index: scripts/check_accounts =================================================================== RCS file: /cvsroot/tiger/tiger/scripts/check_accounts,v retrieving revision 1.10 diff -a -u -p -r1.10 check_accounts --- scripts/check_accounts 19 Sep 2003 01:53:29 -0000 1.10 +++ scripts/check_accounts 20 Sep 2003 03:11:28 -0000 @@ -139,8 +139,11 @@ fi # check_disabled() { - while read user home host shell - do + user=$1 + home=$2 + host=$3 + shell=$4 + if [ "$OS" = "Linux" -a -z "$shell" ] then shell="/bin/sh" @@ -177,7 +180,6 @@ check_disabled() } [ -n "$CHECK_CRON" -a "`$CHECK_CRON $user`" = 'YES' ] && message WARN acc005w "" "Login ID $user is disabled, but has a 'cron' file or cron entries." - done } check_users() @@ -190,7 +192,7 @@ check_users() # a valid password). case $hash in '*') - check_disabled "$user" "$home" "$host" + check_disabled "$user" "$home" "$host" "$shell" ;; esac