summaryrefslogtreecommitdiffstats
path: root/etc/init.d/sudo.conf.in
diff options
context:
space:
mode:
Diffstat (limited to 'etc/init.d/sudo.conf.in')
-rw-r--r--etc/init.d/sudo.conf.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/init.d/sudo.conf.in b/etc/init.d/sudo.conf.in
new file mode 100644
index 0000000..dfae56b
--- /dev/null
+++ b/etc/init.d/sudo.conf.in
@@ -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