BSD Ports

security/doas 6.3p2nb2 NetBSD

Execute commands as another user

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
2-clause-bsd AND isc AND modified-bsd
Categories
security
Package size
21.7 KiB, 52.5 KiB installed

Description

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.

In the other systems

SystemPortVersion
NetBSDsecurity/doas6.3p2nb2
FreeBSDsecurity/doas6.4
DragonFlysecurity/doas6.3p12
MidnightBSDsecurity/doas6.3p12
HardenedBSDsecurity/doas6.4
GhostBSDsecurity/doas6.4

Install

Binary package:

pkgin install doas

From pkgsrc:

cd /usr/pkgsrc/security/doas && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_646.3p2nb2
NetBSD 10.1 aarch646.3p2nb2
SmartOS / illumos x86_646.3p2nb2
macOS 15 arm646.3p2nb2

Dependencies

No port depends on this one.