terminal-based remote package update manager
C M4 Makefile C++ Shell Perl XSLT
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build Change travis CI to build using docker. Oct 20, 2017
conf Update autoconf/automake stuff. Oct 20, 2017
etc Update autoconf/automake stuff. Oct 20, 2017
images add pixmap Jul 7, 2008
include Eval needrestart's kernel status line (fixes issue #37). Oct 23, 2014
lib Consolidate tmux hooks and bind kill-pane to `q` w/o prefix key - req… Oct 21, 2017
m4 Update for automake 1.15 (part 2). Jul 9, 2017
man Update autoconf/automake stuff. Oct 20, 2017
po Fix typo in german translation (Debian Bug#813103 by Alexander Schier… Jun 11, 2016
schema Update autoconf/automake stuff. Oct 20, 2017
src Update autoconf/automake stuff. Oct 20, 2017
xmlreport Add new schemas and move all DTDs into the schema directory. Jan 30, 2015
.gitignore Ignore adsh binary. Jul 13, 2015
.gitmodules Drop apt-dater-host client module. Sep 8, 2014
.travis.features Update travis build job. Mar 2, 2015
.travis.yml Fix docker run missing volume mapping. Oct 20, 2017
ABOUT-NLS Update to gettext 0.19.3. Jan 17, 2015
AUTHORS Update copyrights. Oct 14, 2014
COPYING Generate Makefile,etc... with automake,autoconf,... Jul 3, 2008
ChangeLog Consolidate tmux hooks and bind kill-pane to `q` w/o prefix key - req… Oct 21, 2017
INSTALL Update for automake 1.15 (part 2). Jul 9, 2017
Makefile.am Install schema files during `make install`. Jun 21, 2015
Makefile.in Consolidate tmux hooks and bind kill-pane to `q` w/o prefix key - req… Oct 21, 2017
NEWS Update NEWS (libxml2). Jun 22, 2015
README Automake requires a README Oct 17, 2017
README.autoref Update README to reflect recent changes (clusters feature). May 27, 2012
README.clusters Add package dependencies hint (clusters feature). May 27, 2012
README.history Add history feature. Apr 28, 2009
README.hooks Ad AD_MAINTAINER env variable and make legacy MAINTAINER env variable… Jul 10, 2015
README.md Fix example sudoers file Feb 26, 2018
README.tagging Fixed a bug in the tag by host flag function. Jun 16, 2009
README.tclfilter Add $comment Tcl variable. Oct 14, 2014
README.ttymux Add documentation howto enable multi user support. Apr 3, 2015
README.xmlreport Add new schemas and move all DTDs into the schema directory. Jan 30, 2015
TODO Prepare Debian archive upload. Aug 27, 2008
aclocal.m4 Update autoconf/automake stuff. Oct 20, 2017
compile Update for automake 1.15 (part 2). Jul 9, 2017
config.guess Update for automake 1.15 (part 2). Jul 9, 2017
config.h.in Update autoconf/automake stuff. Oct 20, 2017
config.rpath Update to gettext 0.19.3. Jan 17, 2015
config.sub Update for automake 1.15 (part 2). Jul 9, 2017
configure Update autoconf/automake stuff. Oct 20, 2017
configure.ac Update autoconf/automake stuff. Oct 20, 2017
depcomp Update for automake 1.15 (part 2). Jul 9, 2017
install-sh Update for automake 1.15 (part 2). Jul 9, 2017
missing Update for automake 1.15 (part 2). Jul 9, 2017
mkinstalldirs Update for automake 1.15 (part 2). Jul 9, 2017

README.md

README for apt-dater

With apt-dater you can easily keep one or more (Debian) GNU/Linux hosts up to date.

Pre-configuration on your management server:

Copy and modify the apt-dater.conf:

cp conf/apt-dater.conf.example $HOME/.config/apt-dater/apt-dater.conf

Copy and modify the hosts.conf:

cp conf/hosts.conf.example $HOME/.config/apt-dater/hosts.conf

Copy and modify the screenrc:

cp conf/screenrc.example $HOME/.config/apt-dater/screenrc

Managed hosts by apt-dater:

You need a SSH server and sudo installed. Create a user which will be used to install updates (using root is NOT recommended). Modify the /etc/sudoers:

Defaults env_reset,env_keep=MAINTAINER
the-user ALL=NOPASSWD: /usr/bin/apt-get,/usr/sbin/needrestart

At your management server:

Create a user on your management server which perform updates on your hosts.

Generate a SSH keypair:

ssh-keygen [-t TYPE] [..] -f ~/.ssh/apt-dater

Distribute the public key(s) e.g.:

ssh-copy-id -i ~/.ssh/apt-dater.pub the-user@managed-host