mirror of
https://github.com/ceph/ceph
synced 2024-12-25 12:54:16 +00:00
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:
parent
5494e7229a
commit
4926a9883e
3
sudoers.d/ceph-osd-smartctl
Normal file
3
sudoers.d/ceph-osd-smartctl
Normal 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/*
|
Loading…
Reference in New Issue
Block a user