doas has been ported, http://pkgsrc.se/security/doas
doas
- Edited
Just updated my 8.1_STABLE from 2019Q2 to 2019Q3 and did sudo pkgin install doas
followed by creating doas.conf in /usr/pkg/etc and doas pkgin remove sudo
The update brought me one problem though
...waiting for a follow-up binary build as nearly all GUI apps are broken ...
libgdk_pixbuf-2.0.so.0
not found Not good...
- Edited
Jay yeah, I know I could easily do
$ su
# pkgin remove sudo
# pkgin install doas
# vim /usr/pkg/etc/doas.conf
but, found it hilarious to run doas remove sudo instead
Although, the issue with libgdk-2.so.0
is really pissing me off
I still remember the issue with libstdc++.so.7
earlier this year... its not like I'm running CURRENT, I'm on the STABLE branch and my apps don't work
Just for the sake of it, I did install a Qt app just to check... it works. Gtk is broken
EDIT: problem solved
Back on topic...
Could any of you people running doas
on NetBSD confirm or refute the implementation of the persist
option?
I have to type the password for every command...
Or, maybe I'm doing it wrong?!?
# doas configuration file
permit persist :wheel
permit nopass keepenv root
pin Could any of you people running doas on NetBSD confirm or refute the implementation of the persist option?
yes, it's the expected behaviour, since NetBSD's tty(4) doesn't support the TIOCCHKVERAUTH ioctl like OpenBSD's, hence there's no way to get persist working on it but rewriting the relevant part of doas.c from scratch.
persist
doesn't work on Linux, illumos and FreeBSD either for the very same reason
JuvenalUrbino Thanks! That explains things. Guess, I'll have to create a few more nopass
exceptions then