liske / apt-dater

terminal-based remote package update manager

Home Page:https://www.ibh.de/apt-dater/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

terminal-based remote package update manager

https://www.ibh.de/apt-dater/

License:GNU General Public License v2.0


Languages

Language:C 39.0%Language:M4 28.8%Language:Makefile 18.8%Language:C++ 7.0%Language:Shell 5.1%Language:Perl 0.7%Language:XSLT 0.6%Language:sed 0.1%