aboutsummaryrefslogtreecommitdiff
path: root/src/etc/sudoers.d
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-09-29 22:08:31 -0400
committerB Stack <bgstack15@gmail.com>2020-09-29 22:08:31 -0400
commit271a0dfcfd2f4f2dd7d9cc0fb9d5a8749cd5d472 (patch)
tree63f3e472417fd3f2a77624b619e12d7746ef8f42 /src/etc/sudoers.d
parentWIP: improve rpm packaging, fix desktop files (diff)
downloadmyautomount-271a0dfcfd2f4f2dd7d9cc0fb9d5a8749cd5d472.tar.gz
myautomount-271a0dfcfd2f4f2dd7d9cc0fb9d5a8749cd5d472.tar.bz2
myautomount-271a0dfcfd2f4f2dd7d9cc0fb9d5a8749cd5d472.zip
add sudo rule
Diffstat (limited to 'src/etc/sudoers.d')
-rw-r--r--src/etc/sudoers.d/40_myautomount_sudo3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/etc/sudoers.d/40_myautomount_sudo b/src/etc/sudoers.d/40_myautomount_sudo
new file mode 100644
index 0000000..7f31d15
--- /dev/null
+++ b/src/etc/sudoers.d/40_myautomount_sudo
@@ -0,0 +1,3 @@
+# File: /etc/sudoers.d/30_myautomount_sudo
+Defaults env_keep += "DRYRUN VERBOSE MYA_PREFIX DEBUG"
+ALL ALL = (root) NOPASSWD: /usr/libexec/myautomount/myautomount-initialize.sh
bgstack15