- Notifications
You must be signed in to change notification settings - Fork6
jirutka/doas-sudo-shim
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a shim for thesudo
command that utilizesdoas.It supports only a subset of thesudo
options (both short and long variants) that have an equivalent indoas
, plus option-i
(--login
).
POSIX-sh compatible shell (e.g. Busybox ash, dash, ZSH, bash, …)
awk
,cat
,getopt
(BSD, Busybox or GNU)doas
(OpenDoas or from OpenBSD)(Asciidoctor to build a man page)
Install packagedoas-sudo-shim from the Alpine’s Edge repository:
apk add doas-sudo-shim
wget https://github.com/jirutka/doas-sudo-shim/archive/v0.1.2/doas-sudo-shim-0.1.2.tar.gztar -xzf doas-sudo-shim-0.1.2.tar.gzcd doas-sudo-shim-0.1.2make install DESTDIR=/ PREFIX=/usr/local
…or just download thesudo script directly.
Read man pagesudo(1).
This project is licensed underISC License.For the full text of the license, see theLICENSE file.
About
sudo shim for doas