Giter Site home page Giter Site logo

doas support? about suda.vim HOT 14 CLOSED

lambdalisue avatar lambdalisue commented on August 15, 2024 8
doas support?

from suda.vim.

Comments (14)

ribosomerocker avatar ribosomerocker commented on August 15, 2024 5

I agree with this.

suda] sudo: invalid option -- 'p'
[suda] usage: doas [-Lns] [-C config] [-u user] command [args]

This is what I receive after inputting my password when running :SudaWrite, I don't think it'd take much to add it in.

from suda.vim.

not-a-robot69 avatar not-a-robot69 commented on August 15, 2024 2

Maybe make it use su instead, as that's installed on most if not all systems as far as I know. For example, makepkg uses su if sudo is not found...

from suda.vim.

AnasR7 avatar AnasR7 commented on August 15, 2024

please make this hapeend

from suda.vim.

lambdalisue avatar lambdalisue commented on August 15, 2024

Oops. I'm sorry I didn't notice this request. Well, I have no idea what "doas" and I have no idea what to do to support it.

from suda.vim.

 avatar commented on August 15, 2024

doas is alternative to sudo
https://wiki.archlinux.org/title/Doas
sudo has the -p option, but doas does not, so symbolic links will not work
もしよければ私に対して日本語を話してください

from suda.vim.

ribosomerocker avatar ribosomerocker commented on August 15, 2024

I've already cloned this project and tried to work on it, but I've hit a "roadblock,", doas doesn't have the flag that sudo does to pass the password to, so you're probably going to use expect or socat or something like that. It's likely not going to be that hard, but maybe it'd be more efficient if it uses something that's essentially really light and exists on all systems that isn't exactly replacable, like maybe the su util or something more tightly-knit, I'm unsure. Do as you wish, and thank you for listening!

from suda.vim.

lambdalisue avatar lambdalisue commented on August 15, 2024

Probably, I'm not going to support doas or su in suda.vim (by myself) while suda.vim has technical limitation (#34). Instead, maybe I'll create a new fresh plugin for handle #34 and then I'll consider to support doas and/or su.

もしよければ私に対して日本語を話してください

I'm sorry but it seems some people interested in this topic so I prefer to discuss it with English.

from suda.vim.

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.