All HowTo's Scripting HowTo's Security HowTo's

Email the SysAdmin a list of Available Updates daily

This is a one-liner to periodically send an email to the administrator with a list of available packages.

/usr/bin/yum check-update | mail -s "Yum Updates Available - `hostname`" helpdesk@agix.local

You can put the above in a Cron job to have it report the list every day or whatever frequency you like.

Similar Posts:

Leave a Reply

Your email address will not be published.