Date: Mon, 24 May 2010 11:20:52 -0700 From: Chuck Swiger <cswiger@mac.com> To: Mikkel Skaerris <skaerris@gmail.com> Cc: freebsd-stable@freebsd.org Subject: Re: Zpool scrub and not-root users Message-ID: <5C6C66F1-7FA3-4C1E-9A11-5AA5E1442F96@mac.com> In-Reply-To: <AANLkTik61-R3JXS3uSurZo6dqEBNkfL_WDh0TzSzLcTn@mail.gmail.com> References: <AANLkTik61-R3JXS3uSurZo6dqEBNkfL_WDh0TzSzLcTn@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5C6C66F1-7FA3-4C1E-9A11-5AA5E1442F96>
