Skip to content

Instantly share code, notes, and snippets.

@alonisser
Last active August 29, 2015 14:06
Show Gist options
  • Save alonisser/df4dba0e7c97af135208 to your computer and use it in GitHub Desktop.
Save alonisser/df4dba0e7c97af135208 to your computer and use it in GitHub Desktop.
Setting server security patches
1. replace apt-get upgrade to install only security patches:
http://askubuntu.com/questions/194/how-can-i-install-just-security-updates-from-the-command-line
2. use unattended-upgrade
3. automate unattended-upgrade with cron
https://help.ubuntu.com/community/AutomaticSecurityUpdates
4. get alerts about pending updates:
https://www.debian-administration.org/article/491/Automatic_package_update_nagging_with_apticron
5. just listing update list..
http://unix.stackexchange.com/questions/19470/list-available-updates-but-do-not-install-them
6. tips:
http://www.cyberciti.biz/tips/linux-security.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment