GithubHelp home page GithubHelp logo

Comments (6)

vn971 avatar vn971 commented on August 23, 2024 1

@kuon: what do you think of a PR like this: #80

Does that sound like something convenient to use for you?

TBH I'm thinking of delete CLI support and only rely on environment variables. After all, I have hard time imagining people switch "sudo"-like commands often between invocations.

from rua.

vn971 avatar vn971 commented on August 23, 2024

@kuon you probably don't want to ln -s /usr/bin/doas /usr/local/bin/sudo, right? Doas is not exactly a drop-in replacement?

from rua.

kuon avatar kuon commented on August 23, 2024

No it is not, but more importantly, my doas isn't installed as doas but as a custom name, like dx8, in a non standard location, this is a trade off I found that let me type short commands while protecting against malicious scripts. Of course it's not perfect, and won't help against a targeted attack, but it works against most "woopsises".

Having a sudo link in my system would completely remove this layer of protection.

from rua.

kuon avatar kuon commented on August 23, 2024

I think ENV or conf file would make more sense than a command line flag. ENV is easier and I don't think if a config file would be justified.

from rua.

vn971 avatar vn971 commented on August 23, 2024

yeah, so we're on the same line of thought here. Updated the PR, will soon merge.

from rua.

vn971 avatar vn971 commented on August 23, 2024

This was implemented in GH-80, closing.

from rua.

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.