You need to be using doas you fool. If you are on any Linux or BSD then you should be aware of the software you use to run root / higher permission tasks as a peon user. For most users this will be the 'sudo' program, however, there is a simpler alternative: doas "dedicated openbsd application subexecutor". Of course this secure and simple program is brought to us by the legendary OpenBSD team.
The most obvious reason for doas being superior to sudo is that it has a much simpler configuration which is near plain English. For example to allow peon user "puffy" to execute programs as
root put this into /etc/doas.conf
permit puffy as root
permit persist puffy as root # this one allows you to not type the password for a certain amount of time
But with sudo there is some evil nonsense going on with this despicable format ALL=(ALL:ALL) ALL who thought this would be a good idea? I will not be using sudo and neither should you.
Furthermore the code of sudo is a huge beastly thing chock full of useless features very few people will need. Therefore sudo has more room for bugs and vulnerabilities to annoy the morons using it.
To conclude, use doas NOW! It has got what you need with a whole lot less tomfoolery going on under the surface.
Rating
1 ratingLogin to like or dislike this post.
Why have the OpenBSD people made some software for Linux?
Their code is made to be portable which essentially means that the code is easier to make work on any Operating System.