我已经安装了一个新的Linux 德比安·伦尼服务器,它将是一个台灯和一个Subversion服务器。我应该启用自动更新吗?
如果启用它,我确信我有最新的安全修补程序。它也不应该破坏我的系统,因为Debian稳定只提供安全补丁。如果我手动安装,我可能在多天和一周内处于高安全风险。
请记住,我不是一个全职的系统管理员,所以我没有时间看安全公告。
你平时怎么处理你的服务器?你的建议是什么?
发布于 2009-06-09 10:44:50
Apt现在有它自己的cron作业/etc/cron.day/apt和documentaion在文件本身中找到:
#set -e
#
# This file understands the following apt configuration variables:
#
# "APT::Periodic::Update-Package-Lists=1"
# - Do "apt-get update" automatically every n-days (0=disable)
#
# "APT::Periodic::Download-Upgradeable-Packages=0",
# - Do "apt-get upgrade --download-only" every n-days (0=disable)
#
# "APT::Periodic::AutocleanInterval"
# - Do "apt-get autoclean" every n-days (0=disable)
#
# "APT::Periodic::Unattended-Upgrade"
# - Run the "unattended-upgrade" security upgrade script
# every n-days (0=disabled)
# Requires the package "unattended-upgrades" and will write
# a log in /var/log/unattended-upgrades
#
# "APT::Archives::MaxAge",
# - Set maximum allowed age of a cache package file. If a cache
# package file is older it is deleted (0=disable)
#
# "APT::Archives::MaxSize",
# - Set maximum size of the cache in MB (0=disable). If the cache
# is bigger, cached package files are deleted until the size
# requirement is met (the biggest packages will be deleted
# first).
#
# "APT::Archives::MinAge"
# - Set minimum age of a package file. If a file is younger it
# will not be deleted (0=disable). Usefull to prevent races
# and to keep backups of the packages for emergency.发布于 2009-06-09 23:00:20
我的建议是:是的,自动获取安全更新。大约4年前,我有一个专用的Debian服务器,没有自动更新。圣诞节前后,我去度假时发现了一种蠕虫病毒,它利用了发行版中已知的一个漏洞(不记得是哪个漏洞)。当我度假回来的时候,我的服务器被黑了。
对我来说,破坏应用程序的风险非常低,远低于被运行有已知漏洞的版本所攻击的风险。
发布于 2009-06-09 03:06:54
我从不使用自动更新。我喜欢升级,当我在的时候,有时间清理事情,如果出了问题。如果您不想处理安全公告,请决定在检查更新和决定每周进行更新之间需要多长时间。它很简单:“智能更新;智能领域升级(或智能安全升级)”
我更愿意花一点时间在这上面,而不是让我的邮件服务器突然离开,而不是自动恢复。
https://serverfault.com/questions/22324
复制相似问题