Security with Linux - Newbie

larry price laprice at gmail.com
Tue Feb 8 20:17:17 UTC 2005


On Tue, 08 Feb 2005 19:25:44 +1030, squareyes <squareyes at optusnet.com.au> wrote:
>  open a console,  type sudo apt-get update   and press enter.
> Give your password and hit enter,
> its all done for you.

my method (lives in a cron script executed every morning)

apt-get update
apt-get -s upgrade |mail -s"$host planned updates for $today" me at example.org

the -s option stands for simulate and means that it just prints out
what it plans to do

that way  I can go ahead and fire off apt-get upgrade on days where
that's needed but have an opportunity to check out and and take
measures on things that might disturb my workflow if changed from
under me,

If you're into living dangerously you could go ahead and set it to
actually upgrade by itself
but if you're doing that you should have commented out everything
except the security archive from your /etc/apt/sources.list


-- 
http://Zoneverte.org -- information explained
Do you know what your IT infrastructure does?




More information about the ubuntu-users mailing list