starman@programming.dev to Linux@lemmy.ml · 8 months agoSystemd wants to expand to include a sudo replacementoutpost.fosspost.orgexternal-linkmessage-square259fedilinkarrow-up1335arrow-down115 cross-posted to: [email protected][email protected]
arrow-up1320arrow-down1external-linkSystemd wants to expand to include a sudo replacementoutpost.fosspost.orgstarman@programming.dev to Linux@lemmy.ml · 8 months agomessage-square259fedilink cross-posted to: [email protected][email protected]
minus-squarelengau@midwest.sociallinkfedilinkarrow-up2·8 months agoKinda feels like writing a script that implements the sudo CLI but calls pkexec would be an easier way to do it. Given that so many systems already come with both sudo and pkexec, do we really need yet another option?
minus-squarechameleon@kbin.sociallinkfedilinkarrow-up3·8 months agoThe point of this is to implement some form of privilege escalation without the SUID mechanism. sudo, pkexec and doas are all SUID.
Kinda feels like writing a script that implements the
sudo
CLI but callspkexec
would be an easier way to do it. Given that so many systems already come with bothsudo
andpkexec
, do we really need yet another option?The point of this is to implement some form of privilege escalation without the SUID mechanism.
sudo
,pkexec
anddoas
are all SUID.