Package: tiger Version: 1:3.2.1-31 Severity: wishlist Tags: patch /usr/lib/tiger/scripts/check_accounts uses find. If /home is mounted via NFS with root_squash, then find produces a lot of errors like: /usr/bin/find: /home/harvan/.ssh: Input/output error These are emailed to root as this script is run as part of a cron job.
Runnnig find with 2>/dev/null gets rid of these error messages. diff of proposed change follows --- check_accounts.old 2006-09-05 19:53:23.000000000 +0200 +++ check_accounts.new 2006-09-05 19:51:13.000000000 +0200 @@ -281,7 +281,7 @@ [ "$home" != / -a -n "$home" -a "$Tiger_Dormant_Limit" != 0 ] && { notadmin=`eval "case \"$user\" in $Tiger_Admin_Accounts) ;; *) echo $user;; esac"` [ -n "$notadmin" ] && \ - [ `$FIND "$home/" -mtime -$Tiger_Dormant_Limit | $WC -l` -eq 0 ] && + [ `$FIND "$home/" -mtime -$Tiger_Dormant_Limit 2>/dev/null | $WC -l` -eq 0 ] && message WARN acc021w "" "Login ID $user appears to be a dormant account." } Matus -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]