Go Back   DaemonForums > OpenBSD > OpenBSD Security

OpenBSD Security Functionally paranoid!

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 15th May 2019
hitest's Avatar
hitest hitest is offline
Real Name: George Nielsen
Spam Deminer
Join Date: Sep 2008
Location: B.C., Canada
Posts: 263
Default Help with doas.conf OpenBSD 6.5


When I run doas <anycommand> I get errors. For example:

beowulf$ doas syspatch
doas: syntax error at line 1
My /etc/doas.conf is:

permit hitest
This doas.conf file worked with OpenBSD 6.4. I have done some reading on man doas. Google results are a bit vague on this issue.
I would like user hitest to be able to execute any command like syspatch, pkg_add, etc. At the moment I'm using sudo. I would like to be able to run doas.
Do you have suggestions for a working /etc/doas.conf?
Thank you for any and all replies.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Doas.conf question staus OpenBSD General 6 8th November 2018 03:07 PM
Restrict doas.conf to syspatch only bsd007 OpenBSD Security 19 19th October 2018 01:05 AM
DOAS(1) rules jjstorm OpenBSD General 8 11th April 2016 08:09 PM
Doas has logging? cpaulette OpenBSD General 1 13th March 2016 10:24 AM
doas package Peter_APIIT OpenBSD General 2 1st November 2015 07:45 AM

All times are GMT. The time now is 04:26 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick