View Single Post
  #1   (View Single Post)  
Old 18th October 2018
bsd007's Avatar
bsd007 bsd007 is offline
Always learning
 
Join Date: Sep 2014
Posts: 242
Default Restrict doas.conf to syspatch only

I want to allow my regular account to run only syspatch.

I added this to doas.conf.

Code:
$ cat /etc/doas.conf                                                       
permit myusername /usr/sbin/syspatch
But I get this

Code:
$ doas syspatch       
doas: syntax error at line 1
Reply With Quote