[zfs-discuss] ZFS status without sudo

SanMadJack sanmadjack at gmail.com
Fri Oct 25 13:03:25 EDT 2013


Philip's answer should actually do it, though I am still curious if there
is a non-sudo way of doing it.

^Matt(hew)?[ ]Barbour$


On Fri, Oct 25, 2013 at 12:01 PM, Arman Khalatyan <arm2arm at gmail.com> wrote:

> But this is with sudo :) he is asking as a non root user, no sudo.
> a.
>
>
> On Fri, Oct 25, 2013 at 6:51 PM, Philip Seeger <philip at philip-seeger.de>wrote:
>
>> If the password prompt is the issue, you can put a line in your sudoers
>> (visudo) to be able to use "sudo zpool list" without password prompt:
>> youruser      ALL=NOPASSWD:LOG_OUTPUT: /sbin/zpool list *
>>
>>
>> On 10/25/2013 6:20 PM, sanmadjack at gmail.com wrote:
>>
>>> I'm customizing my motd to display system information, stuff like free
>>> space on all my partitions and such. I'd like to include the space usage of
>>> my zpool, but as far as I know I have to run "sudo zpool list" to get that.
>>> Is there any non-sudo way to get this information?
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to zfs-discuss+unsubscribe@**zfsonlinux.org<zfs-discuss%2Bunsubscribe at zfsonlinux.org>
>>> .
>>>
>>
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to zfs-discuss+unsubscribe@**zfsonlinux.org<zfs-discuss%2Bunsubscribe at zfsonlinux.org>
>> .
>>
>
>

To unsubscribe from this group and stop receiving emails from it, send an email to zfs-discuss+unsubscribe at zfsonlinux.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.zfsonlinux.org/pipermail/zfs-discuss/attachments/20131025/942de73e/attachment.html>


More information about the zfs-discuss mailing list