From 271a0dfcfd2f4f2dd7d9cc0fb9d5a8749cd5d472 Mon Sep 17 00:00:00 2001 From: B Stack Date: Tue, 29 Sep 2020 22:08:31 -0400 Subject: add sudo rule --- src/etc/sudoers.d/40_myautomount_sudo | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 src/etc/sudoers.d/40_myautomount_sudo (limited to 'src/etc/sudoers.d/40_myautomount_sudo') 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 -- cgit