- Thread Starter
- #51
ok. I'm trying to issue this command with doas :
the error is :
my doas.conf file is :
line 9 is :
I've also added this to # ~/.zshrc :
the mount executable is on /sbin ;
I don't understand why I get that error. I've also tried :
but the error is the same.
also tried :
nothing...
nothing...
Code:
[marietto@marietto ~]==> doas mount -t ufs /dev/da3p2 /mnt/da3p2
the error is :
Code:
doas: syntax error at line 9
my doas.conf file is :
Code:
#permit :wheel
#permit nopass keepenv marietto
permit nopass :marietto cmd zpool args import -f -R /mnt/zroot2 zroot2
permit nopass :marietto cmd zpool args import -f -R /mnt/zroot-133 zroot-133
permit nopass :marietto cmd zpool args export -f zroot2
permit nopass :marietto cmd zpool args export -f zroot-133
permit nopass :marietto cmd qemu-system-x86_64-debian_fs
permit nopass :marietto cmd mount
line 9 is :
Code:
permit nopass :marietto cmd mount
I've also added this to # ~/.zshrc :
Code:
# zsh autocompletion for sudo and doas
zstyle ":completion:*:(sudo|su|doas):*" command-path /usr/local/bin /usr/local/sbin /usr/sbin /usr/bin /bin /sbin
the mount executable is on /sbin ;
I don't understand why I get that error. I've also tried :
Code:
permit nopass :marietto cmd mount args -t ufs
but the error is the same.
also tried :
Code:
permit nopass :marietto cmd mount args -t ufs /dev/da3p2 /mnt/da3p2
nothing...
Code:
permit nopass :marietto cmd /sbin/mount args -t ufs /dev/da3p2 /mnt/da3p2
nothing...