[systemd-devel] [PATCH 2/2] Make wtmp match utmp perms, and add btmp.

Bill Nottingham notting at redhat.com
Thu Oct 21 19:37:17 PDT 2010


Signed-off-by: Bill Nottingham <notting at redhat.com>
---
 tmpfiles.d/systemd.conf |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/tmpfiles.d/systemd.conf b/tmpfiles.d/systemd.conf
index 41ff210..09d8344 100644
--- a/tmpfiles.d/systemd.conf
+++ b/tmpfiles.d/systemd.conf
@@ -8,7 +8,8 @@
 d /var/lock/subsys 0755 root root -
 d /var/run/user 0755 root root -
 F /var/run/utmp 0664 root utmp -
-f /var/log/wtmp 0644 root utmp -
+f /var/log/wtmp 0664 root utmp -
+f /var/log/btmp 0600 root utmp -
 
 d /tmp 1777 root root 10d
 d /var/tmp 1777 root root 30d
-- 
1.7.3.1



More information about the systemd-devel mailing list