Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

ZFS on Linux

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
bookie
Posts: 370
Joined: 2007-12-07 11:49

ZFS on Linux

#1 Post by bookie »

Hi guys :D
I have had ZFS running on Debian 10 for some time....
I have one little thingy I would like to fix...
If I run:

Code: Select all

$ zpool status (nada)
If I change to root:

Code: Select all

# zpool status (nada)
If I run:

Code: Select all

$ sudo zpool status (that works after adding password)
Usually ZFS commands are run as root...
Anyone know how to change the permissions for ZFS on debian?

bookie

CwF
Global Moderator
Global Moderator
Posts: 2636
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 41 times
Been thanked: 192 times

Re: ZFS on Linux

#2 Post by CwF »

Aparantly your root terminal has a misconfigured path.
You can add the command to sudoers.d to eliminate the password.
You can create an alias for bash to substitute the 'sudo' in the cli.

You don't change 'zfs' permissions, you elevate the user.

steve_v
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 1400
Joined: 2012-10-06 05:31
Location: /dev/chair
Has thanked: 79 times
Been thanked: 175 times

Re: ZFS on Linux

#3 Post by steve_v »

CwF wrote:Aparantly your root terminal has a misconfigured path.
The result of the change in buster where 'su' doesn't set path?
Try 'su -'
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

Post Reply