Re:Arch Packages You Might Want to Install
by mdaniel on Tuesday December 07, 2021 @09:57PM
(#29480801)
For my curiosity, why doas over sudo?
Re:Arch Packages You Might Want to Install
by kkirsche on Tuesday December 07, 2021 @10:06PM
(#29480847)
Not parent but, simpler configuration, more focused tool (that can be both good and bad), if you compile it’s faster as less dependencies, etc. Honestly, all depends on your use case and what you know (Simple all depends on where you’re coming from)
Re:Arch Packages You Might Want to Install
by nick__m on Tuesday December 07, 2021 @10:22PM
(#29480940)
It has less features so it has a smaller attack surface. Unless you need a specific featurd found only in sudo, your probably safer with doas.
Re:Arch Packages You Might Want to Install
by bscphil on Wednesday December 08, 2021 @02:48AM
(#29482225)
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.
Re:Arch Packages You Might Want to Install
by nick__m on Wednesday December 08, 2021 @07:30AM
(#29483934)
sudo 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... . When doas work correctly remove sudo or if you needed one of the listed packages, changes it's permissions to 000.
I would also add: