#!/bin/sh # This is a useful tool to run at cron # Make sure there are no weird changes to the passwd and shadow files # admin@wickedmind.com # 06-02-00 cd wc -l /etc/passwd > /tmp/1 wc -l /etc/shadow > /tmp/2 diff /tmp/1 /tmp/2 > /tmp/pass cat /tmp/pass rm /tmp/1 rm /tmp/2 rm /tmp/pass