View Single Post
Old 19th October 2018
bsd007's Avatar
bsd007 bsd007 is offline
Always learning
 
Join Date: Sep 2014
Posts: 242
Default

Quote:
Originally Posted by LeFrettchen View Post
Code:
$ doas /usr/sbin/syspatch
doas: Operation not permitted
It looks like a password error.

doas(1) asks for myusername's password, not root's password.

Edit : also, you can add nopass to the doas.conf file, but it will lacks security.
Now I assume it'll be ok with syspatch...

Code:
permit nopass myusername as root cmd /usr/sbin/syspatch
It doesnt even as for a password . After typing doas /usr/sbin/syspatch it goes straight to

doas: Operation not permitted.

Please dont misunderstand but I dont want to take the "nopass" route as it compromises security.
Reply With Quote