Comments (3)
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.
@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.
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)
- `question:` How to run nobody under root ? HOT 2
- Failed to power off system via logind: Interactive authentication required. HOT 1
- security vulnerability: TIOCSTI tty character injection HOT 20
- Cross compiling is broken
- Permit with variable arguments
- FreeBSD persist support? HOT 1
- zsh completions? HOT 1
- Document the intended behavior of persist.
- `go build` fails when using `doas` HOT 4
- Pull request adding GitHub Actions CI welcome? HOT 1
- Show asterisks while typing. HOT 2
- arguments not passed HOT 3
- wrong shell HOT 10
- Incorrect ordering of paths in safepath HOT 2
- [Question] Is OpenDoas support SELinux? HOT 1
- compare strings in constant time
- doas doesn't work with [[ in bash HOT 1
- timestamp create predictible path HOT 3
- doas prints pam conversation to stdout HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opendoas.