r/voidlinux • • May 30 '22

Void linux should use doas instead of sudo as default

doas is more minimal

1 Upvotes

8 comments sorted by

14

u/paper42_ May 30 '22
  • being minimal is not really a goal of void

  • this is not possible because it would break setup for people who are not careful which may lock them out of their system

  • some scripts just use sudo, so it makes sense to have sudo as default

  • you can just install doas and remove sudo manually

2

u/[deleted] May 30 '22

some scripts just use sudo, so it makes sense to have sudo as default

understood

2

u/paper42_ May 30 '22

Programs that need root permissions should get them with proper methods (with a few exceptions) - failing and letting the user call them as root, using polkit, setuid, etc, but some scripts use sudo anyway.

1

u/0xDagal Jun 01 '22

I don't think it is a good solution, many solutions of privesc exist. If Void removed sudo as default (which I dot think it should), it would better to let the user choose.

-3

u/[deleted] May 30 '22

Get out

3

u/10leej May 31 '22

thats about as helpful as the OP's post.....

0

u/[deleted] May 31 '22

exactly, that's why I jokingly made that comment

in all seriousness replacing sudo with doas makes 0 sense.