Doas support❗
Pull Request
closes 1266
doas detection and support for all the scripts.
This is a Major change, therefore this should be reviewed and inspect carefully or much better to be handled by the Owner.
USAGE:
source global first then use SUPER to either run script commands via doas || sudo
cool thanks, i don't think doing minimal archinstall will include doas unless explicitly installed, but sudo is widely supported and preinstalled.
Anyways its only necessary for installation... also, maybe we can improve it by reading the password to a variable and use it for sudo/doas commands...
I'll test this later anyways :)
closes #1266
What are the actual benefits of doas over sudo ? I don't know the project well but I have some doubt. Doas is significantly smaller which is a good thing, but it's also significantly newer which is a bad thing and the community using it isn't that big, theses aren't good indicator towards more security. Also Linux doas is only a copy of openBSD doas made by other people and thus, it's again less safe to use
Is the energy needed to make the change worth it?
I don't really know, I only created the PR so we could have that option for users preferring doas. I never used it though.