a utility that lets a user run a command as another user
doas 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. doas 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.
doas 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. doas 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.
To install doas, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install doas
To see what files were installed by doas, run:
port contents doas
To later upgrade doas, run:
sudo port selfupdate && sudo port upgrade doas
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.