[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Auto patching Redhat 7.3



Oh, also, you might want to create /etc/cron.daily/apt with something
like this:

#!/bin/sh

( set -e

apt-get -qq update \
    && apt-get -qqy upgrade \
    && apt-get -qq autoclean
) 2>&1 | grep -v '^W: .* will not be authenticated\.$'

Be sure to "chmod 700 /etc/cron.daily/apt" when you are done.

Steve
-- 
steve@silug.org           | Southern Illinois Linux Users Group
(618)398-7360             | See web site for meeting details.
Steven Pritchard          | http://www.silug.org/

-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.