Systemd wants to expand to include a sudo replacementoutpost.fosspost.orgexternal-linkcross-posted to: linux@programming.dev starman ( @starman@programming.dev ) Linux@lemmy.ml • 5 months ago message-square115fedilinkarrow-up1220
arrow-up1220external-linkSystemd wants to expand to include a sudo replacementoutpost.fosspost.org starman ( @starman@programming.dev ) Linux@lemmy.ml • 5 months ago message-square115fedilinkcross-posted to: linux@programming.dev
minus-square lengau ( @lengau@midwest.social ) linkfedilink1•5 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-square chameleon ( @chameleon@kbin.social ) linkfedilink3•5 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.