ceph/sudoers.d/ceph-osd-smartctl

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/*