Sophie

Sophie

distrib > Mageia > 1 > x86_64 > by-pkgid > beddb7ab9e7b46abdaf09008ec43e917 > files > 9

bacula-sd-5.0.3-2.1.mga1.x86_64.rpm

# Allow bacula sd to access the SMART error page on tape devices, but not to add any other parameter
bacula  ALL=NOPASSWD: /usr/sbin/smartctl -d scsi -H -l error /dev/tape/by-id/*,/usr/sbin/smartctl -d scsi -H -l error /dev/nst[0-9],/usr/sbin/smartctl -d scsi -H -l error /dev/nst[0-9]*[0-9alm],/usr/sbin/smartctl -d scsi -H -l error /dev/st[0-9],/usr/sbin/smartctl -d scsi -H -l error /dev/st[0-9]*[0-9alm],!/usr/sbin/smartctl -d scsi -H -l error * *