DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 4th November 2018
staus staus is offline
Port Guard
 
Join Date: May 2014
Posts: 28
Default Doas.conf question

I am trying to set up my desktop with OpenBSD 6.4 to easily allow a user (myself) to mount and umount usb sticks.
So far I have been unable to mount or unmount as a user. This is what I have in my /etc/doas.conf file:

permit nopass staus as root cmd /sbin/mount
permit nopass staus as root cmd /sbin/umount

doas -C /etc/doas.conf exits without error, I think.

If I run doas -C /etc/doas.conf mount, I will get deny. (I also cannot mount the usb stick to my home directory, if I run doas mount /dev/sd2i <my dir>.

I have all the latest syspatches installed.
Any ideas. It is driving me nuts going through man pages and internet searches.
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
Restrict doas.conf to syspatch only bsd007 OpenBSD Security 19 19th October 2018 01:05 AM
httpd rc.conf.local question psypro OpenBSD General 3 30th October 2016 05:54 PM
N00b question - /etc/man.conf bceverly OpenBSD Packages and Ports 2 16th June 2015 05:28 PM
dhcpd.conf question azdps OpenBSD General 4 11th May 2014 05:30 AM
pf.conf label question toro7 OpenBSD Security 9 5th January 2012 08:56 PM


All times are GMT. The time now is 03:33 PM.


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