security/doas - The NetBSD Packages Collection

Execute commands as another user

doas is a port of OpenBSD's doas.

The doas utility is a program originally written for OpenBSD which
allows a user to run a command as though they were another
user. Typically doas is used to allow non-privileged users to run
commands as though they were the root user. The doas program acts as
an alternative to sudo, which is a popular method in the Linux
community for granting admin access to specific users.

The doas program offers two benefits over sudo: its configuration file
has a simple syntax and it is smaller, requiring less effort to audit
the code. This makes it harder for both admins and coders to make
mistakes that potentially open security holes in the system.

Build dependencies

pkgtools/mktools devel/gmake pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64doas-6.3p2nb1.tgz
NetBSD 10.0aarch64doas-6.3p2nb1.tgz
NetBSD 10.0aarch64ebdoas-6.3p2nb1.tgz
NetBSD 10.0aarch64ebdoas-6.3p2nb1.tgz
NetBSD 10.0alphadoas-6.3p2nb1.tgz
NetBSD 10.0alphadoas-6.3p2nb1.tgz
NetBSD 10.0earmv4doas-6.3p2nb1.tgz
NetBSD 10.0earmv4doas-6.3p2nb1.tgz
NetBSD 10.0earmv6hfdoas-6.3p2nb1.tgz
NetBSD 10.0earmv6hfdoas-6.3p2nb1.tgz
NetBSD 10.0earmv6hfdoas-6.3p2nb1.tgz
NetBSD 10.0earmv7hfdoas-6.3p2nb1.tgz
NetBSD 10.0earmv7hfdoas-6.3p2nb1.tgz
NetBSD 10.0earmv7hfdoas-6.3p2nb1.tgz
NetBSD 10.0i386doas-6.3p2nb1.tgz
NetBSD 10.0i386doas-6.3p2nb1.tgz
NetBSD 10.0m68kdoas-6.3p2nb1.tgz
NetBSD 10.0powerpcdoas-6.3p2nb1.tgz
NetBSD 10.0powerpcdoas-6.3p2nb1.tgz
NetBSD 10.0powerpcdoas-6.3p2nb1.tgz
NetBSD 10.0sparc64doas-6.3p2nb1.tgz
NetBSD 10.0sparc64doas-6.3p2nb1.tgz
NetBSD 10.0sparcdoas-6.3p2nb1.tgz
NetBSD 10.0sparcdoas-6.3p2nb1.tgz
NetBSD 10.0vaxdoas-6.3p2nb1.tgz
NetBSD 10.0vaxdoas-6.3p2nb1.tgz
NetBSD 10.0vaxdoas-6.3p2nb1.tgz
NetBSD 10.0x86_64doas-6.3p2nb1.tgz
NetBSD 10.0x86_64doas-6.3p2nb1.tgz
NetBSD 9.0aarch64doas-6.3p2nb1.tgz
NetBSD 9.0aarch64doas-6.3p2nb1.tgz
NetBSD 9.0alphadoas-6.3p2nb1.tgz
NetBSD 9.0alphadoas-6.3p2nb1.tgz
NetBSD 9.0earmv4doas-6.3p2nb1.tgz
NetBSD 9.0earmv6hfdoas-6.3p2nb1.tgz
NetBSD 9.0earmv6hfdoas-6.3p2nb1.tgz
NetBSD 9.0earmv6hfdoas-6.3p2nb1.tgz
NetBSD 9.0earmv7hfdoas-6.3p2nb1.tgz
NetBSD 9.0earmv7hfdoas-6.3p2nb1.tgz
NetBSD 9.0earmv7hfdoas-6.3p2nb1.tgz
NetBSD 9.0i386doas-6.3p2nb1.tgz
NetBSD 9.0i386doas-6.3p2nb1.tgz
NetBSD 9.0m68kdoas-6.3p2nb1.tgz
NetBSD 9.0powerpcdoas-6.3p2nb1.tgz
NetBSD 9.0powerpcdoas-6.3p2nb1.tgz
NetBSD 9.0powerpcdoas-6.3p2nb1.tgz
NetBSD 9.0sparc64doas-6.3p2nb1.tgz
NetBSD 9.0sparc64doas-6.3p2nb1.tgz
NetBSD 9.0x86_64doas-6.3p2nb1.tgz
NetBSD 9.0x86_64doas-6.3p2nb1.tgz
NetBSD 9.3x86_64doas-6.3p2nb1.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.