Giter VIP home page Giter VIP logo

fork-doas-sudo-shim's Introduction

doas sudo shim

This is a shim for the sudo command that utilizes doas. It supports only a subset of the sudo options (both short and long variants) that have an equivalent in doas, plus option -i (--login).

Requirements

  • POSIX-sh compatible shell (e.g. Busybox ash, dash, ZSH, bash, …)

  • awk, cat, getent, getopt (BSD, Busybox or GNU)

  • doas (OpenDoas or from OpenBSD)

  • (Asciidoctor to build a man page)

Installation

On Alpine Linux

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

apk add doas-sudo-shim

On Arch Linux

Install package doas-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.1/doas-sudo-shim-0.1.1.tar.gz
tar -xzf doas-sudo-shim-0.1.1.tar.gz
cd doas-sudo-shim-0.1.1
make install DESTDIR=/ PREFIX=/usr/local

…​or just download the sudo script directly.

Usage

Read man page sudo(1).

See Also

License

This project is licensed under ISC License. For the full text of the license, see the LICENSE file.

fork-doas-sudo-shim's People

Contributors

jirutka avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.