4 ms·
How do you fully replace sudo with doas on Arch? A bunch of packages depend on sudo, including glibc, and it's not obvious to me that they don't depend on the s
by bscphil 5y ago
How do you fully replace sudo with doas on Arch? A bunch of packages depend on sudo, including glibc, and it's not obvious to me that they don't depend on the specific /usr/bin/sudo command being available.
- nick__m 5y agosudo is an optional dependency for a lot of packages but it's a hard deps only for : - ceph - cloud-init - deepin-deamon - x2goserver If you don't need one of the above packages, install and configure doas as described by the wiki, pay attention to that section : https://wiki.archlinux.org/title/Doas#Smooth_transition_sudo_to_doas https://wiki.archlinux.org/title/Doas#Smooth_transition_sudo... . When doas work correctly remove sudo or if you needed one of the listed packages, changes it's permissions to 000.
- bscphil 5y agoYou're quite right. I had run `pactree sudo`, forgetting that the correct command was `pactree -r sudo`.