View Single Post
Old 19th October 2018
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: France
Posts: 408
Default

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
__________________
ThinkPad W500 P8700 6GB HD3650 - faultry
ThinkStation P700 2x2620v3 32GB 1050ti 3xSSD 1xHDD

Last edited by LeFrettchen; 19th October 2018 at 12:31 AM. Reason: nopass
Reply With Quote