Zpool scrub and not-root users
Chuck Swiger
cswiger at mac.com
Mon May 24 18:20:53 UTC 2010
Hi--
On May 24, 2010, at 8:00 AM, Mikkel Skaerris wrote:
> Im wondering if there is a way of allowing non-root users to perform a disk
> scrub using zpool scrub <pool>. I've been messing around with permissions,
> but no luck so far. Anyone got a clue?
You can use the security/sudo port to allow non-root users to run specific commands.
I'd imagine that running zpool scrub as root once a week via cron at some quiet time around Sat or Sun midnight would be a better idea then letting arbitrary users run this anytime...
Regards,
--
-Chuck
More information about the freebsd-stable
mailing list