summaryrefslogtreecommitdiff
path: root/doc/README.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2014-12-22 18:08:42 -0400
committerJoey Hess <joeyh@joeyh.name>2014-12-22 18:08:42 -0400
commitb9876dfac1e04482fa32034b272bad6625249a2c (patch)
tree5f5d1f45a4d2966bb28f89770046dc2a70f22e2e /doc/README.mdwn
parentb64df15409413858ed7ccf5043178f2edb71e791 (diff)
on sudo
Diffstat (limited to 'doc/README.mdwn')
-rw-r--r--doc/README.mdwn8
1 files changed, 8 insertions, 0 deletions
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;