Can I remove sudo from Arch?

a year ago by daggermoon to c/archlinux

Ever since I found out about run0 I've been using that. I don't like having redundant software installed. Is it possible to safely remove sudo from an Arch Linux system? Sorry if this is a stupid question.

load all comments
Gyroplast 43 points a year ago

In principle, yes, although the optional base-devel group depends on sudo, as do hundreds of AUR packages, and yet other projects you install tend to just assume you have a sudo binary around. Removing sudo will not break your system, but lead to well-deserved anger towards people not declaring their dependencies. :)

If you're ready to deal with the occasional application or script croaking, and subsequently fixing it, you should be fine removing sudo. I would personally consider building a dummy package replacing sudo, including a simple run0 wrapper at /usr/bin/sudo, to have a clean and transparent replacement.

path: 0 16702097, hotness: undefined, score: 43, children: 1
exu 13 points a year ago

Any AUR package implicitly requires base-devel, so there's no requirement to list sudo explicitly.

path: 0 16702097 16704247, hotness: undefined, score: 13, children: 0
archlinux
archlinux

@lemmy.ml

login for more options
9917
424
145

The beloved lightweight distro

go to feed...