If you use/administer a Debian/Ubuntu system, you can automate the security update process by using the program unattended-upgrades. This tool provides a simple way to manage this task. To install it : apt-get install unattended-upgrades dpkg-reconfigure unattended-upgrades After selecting “Yes”,
NTP: how to chroot
The following bash script will automate the configuration of ntp to run in a jail (chroot) for a debian/ubuntu. #!/bin/bash /etc/init.d/ntp stop rootfs=/var/chroot/ntp mkdir -p $rootfs/{etc,var/lib/ntp,var/log} mv /etc/ntp.conf $rootfs/etc ln -s $rootfs/etc/ntp.conf /etc/ntp.conf if [ -e /var/lib/ntp/ntp.drift ]; then mv