summaryrefslogtreecommitdiff
path: root/debian/sudo.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/sudo.service')
-rw-r--r--debian/sudo.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/sudo.service b/debian/sudo.service
new file mode 100644
index 0000000..a8c5460
--- /dev/null
+++ b/debian/sudo.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Provide limited super user privileges to specific users
+
+[Service]
+Type=oneshot
+# \073 is ';' which needs to be part of the find parameters
+ExecStart=/usr/bin/find /var/lib/sudo -exec /usr/bin/touch -d @0 '{}' \073
+
+[Install]
+WantedBy=multi-user.target