sudoers.d/ceph-osd-smartctl: allow user ceph to run smartctl as root

This exactly matches the incancation in OSD.cc

Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2018-06-27 15:13:11 -05:00
parent 5494e7229a
commit 4926a9883e

View File

@ -0,0 +1,3 @@
## allow ceph-osd (which runs as user ceph) to collect device health metrics
ceph ALL=NOPASSWD: /usr/sbin/smartctl -a --json /dev/*