]> granicus.if.org Git - sudo/commitdiff
Add tmpfiles.d/sudo.conf template.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 8 Apr 2015 13:14:33 +0000 (07:14 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 8 Apr 2015 13:14:33 +0000 (07:14 -0600)
init.d/sudo.conf.in [new file with mode: 0644]

diff --git a/init.d/sudo.conf.in b/init.d/sudo.conf.in
new file mode 100644 (file)
index 0000000..dfae56b
--- /dev/null
@@ -0,0 +1,6 @@
+# Create an empty sudo time stamp directory on OSes using systemd.
+# Sudo will create the directory itself but this can cause problems
+# on systems that have SELinux enabled since the directories will be
+# created with the user's security context.
+d @rundir@ 0711 root root
+D @rundir@/ts 0700 root root