summaryrefslogtreecommitdiff
path: root/debian/sudo.service
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2017-06-21 14:19:45 +0300
committerIgor Pashev <pashev.igor@gmail.com>2017-06-21 14:19:45 +0300
commit546742e5e8544fb42aa65744d719100b5e32dee4 (patch)
tree2d3ccd186b8ccb02cd134af845cc41aa04e1ff00 /debian/sudo.service
downloadsudo-546742e5e8544fb42aa65744d719100b5e32dee4.tar.gz
Imported sudo 1.8.19p1-2.1debian/1.8.19p1-2.1debian
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