Hello.
I would like to allow the user marietto to issue sudo command and be root and skip asking for password when sudo command is issued. I'm trying several command variations,but none of them is working :
or :
or :
or :
Nothing. I don't understand why it does not work....
I would like to allow the user marietto to issue sudo command and be root and skip asking for password when sudo command is issued. I'm trying several command variations,but none of them is working :
Code:
# pw group mod wheel -m marietto
# nano /usr/local/etc/sudoers :
%wheel ALL=(ALL:ALL) NOPASSWD: ALL
or :
Code:
marietto ALL=(ALL:ALL) NOPASSWD: /sbin/zpool
or :
Code:
marietto ALL=(ALL) NOPASSWD: ALL
or :
Code:
marietto ALL=(ALL) NOPASSWD : /sbin/zpool
Nothing. I don't understand why it does not work....
Code:
[marietto@marietto /mnt/zroot2/zroot2]==> sudo zpool export zroot-133
Password: