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