-
Notifications
You must be signed in to change notification settings - Fork 936
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request]: Doas support instead of sudo #1266
Comments
how about letting a polkit handle it? still unsafe? |
I can't tell you whether that"s safe or not as I haven't really dealt with polkit yet. Either way you can't assume it's already set up so the install script would have to take are of that as well. And for setting up polkit you'll need root access which means either sudo or doas again. |
For the installation( which probably polkit don't exist yet ), we can add checks if users have doas or sudo. Adding check for doas as priority and fallback to sudo. For the whole Theming experience, will try to use the polkit as much as possible. (Hyprland encourages having a polkit.) then again fallsback to doas then sudo. |
That honestly really good option I agree with this cuz I think the way Hyde is switching it needs even bits of customizability |
Feature Request
Description
I'd like to see a feature that allows you to use doas instead of sudo since sudo is a very big project and therefore a more common attack surface.
Use Case
sudo had its bugs and exploits in the past and doas is a way simpler program which still does what most people use sudo for. I don't know if you use elevated privileges in any of your custom scripts (besides the install script) so I don't know if I can uninstall sudo after running the install script.
Proposed Solution
I'd like to see either an autodetection during the install script or an option to select the program of your choice.
Alternatives
I guess the alternatives are to use sudo but some people just prefer doas
Additional Information
If by any chance you don't know what doas is: It does basically the same as what most people use sudo for. It has a lot less features than sudo but most of them aren't used by the majority of users anyway. Here's the archwiki if that helps: https://wiki.archlinux.org/title/Doas
The text was updated successfully, but these errors were encountered: