Skip to content

Commit

Permalink
sudoers.d/ceph-osd-smartctl: allow user ceph to run smartctl as root
Browse files Browse the repository at this point in the history
This exactly matches the incancation in OSD.cc

Signed-off-by: Sage Weil <[email protected]>
  • Loading branch information
liewegas committed Jun 27, 2018
1 parent 5494e72 commit 4926a98
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sudoers.d/ceph-osd-smartctl
Original file line number Diff line number Diff line change
@@ -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/*

0 comments on commit 4926a98

Please sign in to comment.