Categories
OpenBSD

play with doas system utility

Openbsd have doas to enable user execute program as another user. This is similar to linux’s sudo but actually doas is much simpler because most user dont use 99% of sudo features ( i read that on internet …)

man page for doas (man doas)

doas need configuration files /etc/doas.conf

man doas.conf to see detail and sample

i set my user to be able to execute all program as root in my doas.conf

test the setting by doing ls to /root

without doas, ls /root will fail with error message permission denied.

with doas, ls /root will run just OK.

so is it the same like sudo or not ?

hmmmm …

 

Leave a Reply

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