Package: etckeeper Version: 0.63 Severity: wishlist I have implemented a logout hook, which can be added to (say) /etc/bash.bash_logout to prompt admins for a commit when they logout of the machine. This only makes sense with sudo servers, but doesn't depend on it.
Usage example, in /etc/bash.bash_logout: [ -d /etc/.git ] && sudo -n true 2> /dev/null && sudo -n etckeeper logout The first check is to make sure we're in git. The second makes sure (silently) that we can run sudo without a password to not bug regular users. And the third one runs the hook. Said hook will come flying around here with a git email once I get a bug number. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_CA.UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages etckeeper depends on: ii bzr 2.6.0~bzr6526-1 ii debconf [debconf-2.0] 1.5.48 ii git 1:1.7.10.4-1+wheezy1 ii mercurial 2.2.2-1 Versions of packages etckeeper recommends: ii cron 3.0pl1-124 Versions of packages etckeeper suggests: ii sudo 1.8.5p2-1 -- debconf information excluded -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org