Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

sudo shim for doas

License

NotificationsYou must be signed in to change notification settings

jirutka/doas-sudo-shim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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).

Requirements

  • 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)

Installation

On Alpine Linux

Install packagedoas-sudo-shim from the Alpine’s Edge repository:

apk add doas-sudo-shim

On Arch Linux

Install packagedoas-sudo-shim from AUR:

yay -S doas-sudo-shim

Or use another AUR helper.

From Tarball

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.

Usage

Read man pagesudo(1).

License

This project is licensed underISC License.For the full text of the license, see theLICENSE file.

About

sudo shim for doas

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Languages


[8]ページ先頭

©2009-2025 Movatter.jp