Re: Zpool scrub and not-root users

2010-05-25 Thread jhell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/24/2010 15:04, Jeremy Chadwick wrote: On Mon, May 24, 2010 at 05:00:03PM +0200, 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

Re: Zpool scrub and not-root users

2010-05-25 Thread Chuck Swiger
On May 25, 2010, at 12:21 PM, jhell wrote: He does not need to add another layer of insecurity to his system such as sudo. Not saying that this is bad but it feels like a little overkill for something as simple as this. This can be done old-school. pw groupadd _zfsadm pw groupmod _zfsadm

Re: Zpool scrub and not-root users

2010-05-25 Thread Jeremy Chadwick
On Tue, May 25, 2010 at 03:21:56PM -0400, jhell wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/24/2010 15:04, Jeremy Chadwick wrote: On Mon, May 24, 2010 at 05:00:03PM +0200, Mikkel Skaerris wrote: Im wondering if there is a way of allowing non-root users to perform a disk

Re: Zpool scrub and not-root users

2010-05-25 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 25/05/2010 20:37:34, Chuck Swiger wrote: On May 25, 2010, at 12:21 PM, jhell wrote: He does not need to add another layer of insecurity to his system such as sudo. Not saying that this is bad but it feels like a little overkill for something as

Re: Zpool scrub and not-root users

2010-05-25 Thread jhell
On Tue, 25 May 2010 16:13, Jeremy Chadwick wrote: In Message-Id: 20100525201315.ga20...@icarus.home.lan On Tue, May 25, 2010 at 03:21:56PM -0400, jhell wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/24/2010 15:04, Jeremy Chadwick wrote: On Mon, May 24, 2010 at 05:00:03PM +0200,

Zpool scrub and not-root users

2010-05-24 Thread Mikkel Skaerris
Hello everyone 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? Skaerris ___ freebsd-stable@freebsd.org mailing

Re: Zpool scrub and not-root users

2010-05-24 Thread Chuck Swiger
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

Re: Zpool scrub and not-root users

2010-05-24 Thread Vrachnis Ilias-Dimitrios
On 05/24/2010 06:00 PM, Mikkel Skaerris wrote: Hello everyone 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? Skaerris i'm not sure, but my guess is

Re: Zpool scrub and not-root users

2010-05-24 Thread Jeremy Chadwick
On Mon, May 24, 2010 at 05:00:03PM +0200, 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? One question: why? Followed by one