drspod@lemmy.ml to linuxmemes@lemmy.world · 4 days ago🦀🦀🦀🦀🦀lemmy.mlimagemessage-square106linkfedilinkarrow-up1449arrow-down122
arrow-up1427arrow-down1image🦀🦀🦀🦀🦀lemmy.mldrspod@lemmy.ml to linuxmemes@lemmy.world · 4 days agomessage-square106linkfedilink
minus-squarelime!@feddit.nulinkfedilinkarrow-up11·4 days agowhy try to recreate the bloat of sudo when doas exists?
minus-squarejackr@lemmy.dbzer0.comlinkfedilinkarrow-up1·4 days agoI am not one of those weird anti-systemD guys(ok, maybe a little bit) but run0 just feels weird to me. What is the usecase? why would I choose this over doas? what are we doing here?
minus-squareFlipper@feddit.orglinkfedilinkarrow-up1·4 days agoThe selling point is that it is simpler to get pid 0 to start your process as root than for sudo/doas to clean up your environment.
minus-squareMonkderVierte@lemmy.ziplinkfedilinkarrow-up1·4 days ago~150 loc in C is enough for the things sudo is used on a single-user machine. doas is for multiuser.
minus-squarelime!@feddit.nulinkfedilinkarrow-up5·4 days agookay, but the version of sudo everyone uses is over 130 000 lines of C.
why try to recreate the bloat of sudo when doas exists?
run0
I am not one of those weird anti-systemD guys(ok, maybe a little bit) but run0 just feels weird to me. What is the usecase? why would I choose this over doas? what are we doing here?
The selling point is that it is simpler to get pid 0 to start your process as root than for sudo/doas to clean up your environment.
~150 loc in C is enough for the things sudo is used on a single-user machine. doas is for multiuser.
okay, but the version of sudo everyone uses is over 130 000 lines of C.