<s>
doas	B-Device
(	O
“	O
dedicated	O
openbsd	B-Operating_System
application	O
subexecutor	O
”	O
)	O
is	O
a	O
program	O
to	O
execute	O
commands	O
as	O
another	O
user	O
.	O
</s>
<s>
The	O
system	B-Application
administrator	I-Application
can	O
configure	O
it	O
to	O
give	O
specified	O
users	O
privileges	O
to	O
execute	O
specified	O
commands	O
.	O
</s>
<s>
It	O
is	O
free	B-License
and	I-License
open-source	I-License
under	O
the	O
ISC	B-License
license	I-License
and	O
available	O
in	O
Unix	B-Application
and	O
Unix-like	B-Operating_System
operating	I-Operating_System
systems	I-Operating_System
.	O
</s>
<s>
doas	B-Device
was	O
developed	O
by	O
Ted	O
Unangst	O
for	O
OpenBSD	B-Operating_System
as	O
a	O
simpler	O
and	O
safer	O
sudo	B-Device
replacement	O
.	O
</s>
<s>
Unangst	O
himself	O
had	O
issues	O
with	O
the	O
default	O
sudo	B-Device
config	O
,	O
which	O
was	O
his	O
motivation	O
to	O
develop	O
doas	B-Device
.	O
</s>
<s>
doas	B-Device
was	O
originally	O
developed	O
by	O
Ted	O
Unangst	O
and	O
was	O
released	O
with	O
OpenBSD	B-Operating_System
5.8	O
in	O
October	O
2015	O
replacing	O
sudo	B-Device
.	O
</s>
<s>
However	O
,	O
OpenBSD	B-Operating_System
still	O
provides	O
sudo	B-Device
as	O
a	O
package	O
.	O
</s>
<s>
Definition	O
of	O
privileges	O
should	O
be	O
written	O
in	O
the	O
configuration	O
file	O
,	O
/etc/doas.conf	O
.	O
</s>
<s>
Allow	O
user1	O
to	O
execute	O
procmap	O
as	O
root	B-Application
without	O
password	O
:	O
</s>
<s>
Allow	O
members	O
of	O
the	O
wheel	B-Operating_System
group	I-Operating_System
to	O
run	O
any	O
command	O
as	O
root	B-Application
:	O
</s>
<s>
Simpler	O
version	O
(	O
only	O
works	O
if	O
default	O
user	O
is	O
root	B-Application
(	O
after	O
install	O
it	O
is	O
)	O
)	O
:	O
</s>
<s>
To	O
allow	O
members	O
of	O
wheel	B-Operating_System
group	I-Operating_System
to	O
run	O
any	O
command	O
(	O
default	O
as	O
root	B-Application
)	O
and	O
remember	O
that	O
they	O
entered	O
the	O
password	O
:	O
</s>
<s>
Jesse	O
Smith	O
’s	O
port	O
of	O
doas	B-Device
is	O
packaged	O
for	O
DragonFlyBSD	B-Application
,	O
FreeBSD	B-Operating_System
,	O
and	O
NetBSD	B-Device
.	O
</s>
<s>
According	O
to	O
the	O
author	O
,	O
it	O
also	O
works	O
on	O
illumos	B-Application
and	O
macOS	B-Application
.	O
</s>
<s>
OpenDoas	O
,	O
a	O
Linux	B-Application
port	O
,	O
is	O
packaged	O
for	O
Debian	O
,	O
Alpine	O
,	O
Arch	O
,	O
CRUX	O
,	O
Fedora	O
,	O
Gentoo	B-Application
,	O
GNU	B-Application
Guix	I-Application
,	O
Hyperbola	O
,	O
Manjaro	B-Application
,	O
Parabola	O
,	O
NixOS	O
,	O
Ubuntu	B-Operating_System
,	O
and	O
Void	O
Linux	B-Application
.	O
</s>
