Giter Club home page Giter Club logo

Comments (3)

Duncaen avatar Duncaen commented on August 15, 2024

This is out of scope for opendoas as its a port of doas, I generally don't add features not present in upstream. In general doas is supposed to be simple and has a limited feature scope, for everything else there is always sudo, which works well and is widely used.

from opendoas.

ThisNekoGuy avatar ThisNekoGuy commented on August 15, 2024

@Duncaen I won't dispute the point of doas being meant to be simple but the point of using doas at all on a Linux system basically comes down to whether or not you're okay with sudo's frequent vulnerabilities, which makes that argument moot.
As a port, I don't see the problem with it being supported the same way you've cut out persist; you've done it once so I don't see why an opt-in feature would be somehow worse?

from opendoas.

Duncaen avatar Duncaen commented on August 15, 2024

Adding new features that spawn programs, require certain environment variables to be exported to them before the user is authenticated is not really something I want to implement in a simple port.

There is nothing that makes doas more secure than sudo, except the feature scope. Adding features to a random port will just result in fragmentation and the feature being potentially a lot less safe than whatever lands in upstream, at least openbsd has people reviewing their patches, I have no idea if there are more than like a few people who have ever reviewed opendoas to be honest so making statements about this or that being more secure is not really something I do (See also first point in the Warnings section of the readme).

The perists keyword (which can be enabled through a configure flag in this port) will just be ignored if not enabled at build time, the configuration file stays the same and the behavior is basically the same.
This is quite different from adding additional features, especially if I don't feel confident about them or don't actually use them.

The general goal of this port has always been to port doas to linux, not to build my own sudo replacement and piggyback off of the doas source code and name.

from opendoas.

Related Issues (20)

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.