View Single Post
  #8   (View Single Post)  
Old 7th July 2018
therue therue is offline
Port Guard
Join Date: Feb 2018
Posts: 12

Originally Posted by Head_on_a_Stick View Post
su -c '$command_string'
Note though that only members of the wheel group can su to root in OpenBSD.

For configuring doas, see doas.conf(5).
there's no need to specify a certain login class? the user i created during the installation seems to have class: staff

-c login-class
specify a login class. you may only override the default class if you're already root.

also that didn't seem to work either i don't think, when i did su -c vi /etc/examples/doas.conf
it said: su: only the superuser may specify a login class.
Reply With Quote