ceph/sudoers.d/ceph-osd-smartctl
Sage Weil 4926a9883e 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>
2018-06-27 15:13:11 -05:00

4 lines
133 B
Plaintext

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