From b9876dfac1e04482fa32034b272bad6625249a2c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 22 Dec 2014 18:08:42 -0400 Subject: on sudo --- doc/README.mdwn | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc/README.mdwn') diff --git a/doc/README.mdwn b/doc/README.mdwn index 18bec1c..d8bce44 100644 --- a/doc/README.mdwn +++ b/doc/README.mdwn @@ -222,6 +222,14 @@ repository as a backup (see instructions above to set up the clone safely): git add . git commit -m "automatically push commits to backup repository" +## sudo integration + +etckeeper will notice if it's being run by way of sudo, and makes a commit +with the author set to the user who sudoed to root. This is useful when +a system has multiple admins; as long as they use sudo while doing their +administration, and run `etckeeper commit` to commit their changes, +`git blame` can show who was responsible for each change. + ## changing VCS By default, etckeeper uses git. This choice has been carefully made; -- cgit v1.2.3