summaryrefslogtreecommitdiffstats
path: root/sudoers.d/cephdaemon
diff options
context:
space:
mode:
Diffstat (limited to 'sudoers.d/cephdaemon')
-rw-r--r--sudoers.d/cephdaemon7
1 files changed, 7 insertions, 0 deletions
diff --git a/sudoers.d/cephdaemon b/sudoers.d/cephdaemon
new file mode 100644
index 00000000000..cac61b281a1
--- /dev/null
+++ b/sudoers.d/cephdaemon
@@ -0,0 +1,7 @@
+# allow cephdaemon user to sudo ceph-daemon
+cephdaemon ALL=NOPASSWD: /usr/bin/ceph-daemon --image * ls
+cephdaemon ALL=NOPASSWD: /usr/bin/ceph-daemon --image * unit *
+cephdaemon ALL=NOPASSWD: /usr/bin/ceph-daemon --image * shell *
+cephdaemon ALL=NOPASSWD: /usr/bin/ceph-daemon --image * deploy *
+cephdaemon ALL=NOPASSWD: /usr/bin/ceph-daemon --image * ceph-volume *
+cephdaemon ALL=NOPASSWD: /usr/bin/ceph-daemon --image * rm-daemon *