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
| System | Port | Version |
|---|---|---|
| NetBSD | security/doas | 6.3p2nb2 |
| FreeBSD | security/doas | 6.4 |
| DragonFly | security/doas | 6.3p12 |
| MidnightBSD | security/doas | 6.3p12 |
| HardenedBSD | security/doas | 6.4 |
| GhostBSD | security/doas | 6.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.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 6.3p2nb2 |
| NetBSD 10.1 aarch64 | 6.3p2nb2 |
| SmartOS / illumos x86_64 | 6.3p2nb2 |
| macOS 15 arm64 | 6.3p2nb2 |
Dependencies
No port depends on this one.