diff options
author | Sage Weil <sage@redhat.com> | 2019-11-18 02:44:08 +0100 |
---|---|---|
committer | Sage Weil <sage@redhat.com> | 2019-11-21 22:34:07 +0100 |
commit | 660233935ea91244b20edf2af395e59f3fcc62c2 (patch) | |
tree | 2a20b485e595c9d47c75c011b67e13c292bb792d /sudoers.d | |
parent | ceph-daemon: use mgr/ssh command to create the ssh key (diff) | |
download | ceph-660233935ea91244b20edf2af395e59f3fcc62c2.tar.xz ceph-660233935ea91244b20edf2af395e59f3fcc62c2.zip |
rpm,deb: add cephdaemon user and sudoers file
Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'sudoers.d')
-rw-r--r-- | sudoers.d/cephdaemon | 7 |
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 * |