doas on openbsd

doas, available on OpenBSD as part of the default system, is a simpler replacement for sudo.

Become root user and then copy doas configuration file from /etc/examples/.

su -

cp /etc/examples/doas.conf /etc/

Use your favorite editor or vi or Emacs clone mg which are included in the base to edit /etc/doas.conf. Add the word “persist” after “permit” to enter your password less often.

Leave a Reply

Your email address will not be published. Required fields are marked *