The Sys Admin's Daily Grind: Etckeeper

Fountain of Youth

Article from Issue 189/2016
Author(s):

Configuration files change over the life of almost every Linux system, but not always for the better. Sometimes individual /etc files literally degenerate. Don't despair: You can restore a state from better days.

Etckeeper is part of many distributions and is otherwise available from GitHub [1]. Of course, Git also needs to be installed on the computer. Anyone who hasn't used Git on their system should configure a few fundamental settings:

git config --global user.name "Charly"
git config --global user.email "charly@example.com"
git config --global core.editor "vim"

Because I execute the etckeeper and git commands with sudo, these settings prevent the root user from being entered as a committer.

[...]

Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Etckeeper

    Etckeeper keeps order in global configuration files and prevents problems with accidentally deleted files.

  • Charly's Column: Prosody

    Columnist Charly Kühnast has been looking into the options of running an instant messaging back end. He chose a particularly lean and easily extendable version.

  • Social Aid

    Fortunately, Facebook is not the only place you can chat: When sys admin columnist Charly Kühnast visits the web chat center Reddit, he often goes without a web browser and uses the RTV tool, which can even display photos and videos on plain text consoles.

  • Charly's Column: Pulse

    Equal treatment, as sys admin Charly so boldly proposes, should be the norm. What he really wants is a free tool to sync user data across multiple computers.

  • Charly's Column – Pdnsd

    Cache it, if you can! When the latencies of his Internet connection seem to take longer than Napoleon's reign, sys admin Charly comes up with a solution for name resolution.

comments powered by Disqus