Replaced sudo with run0 and I'm very happy to have one less setuid binary to worry about.

#systemd #Linux

@brauner welcome to the club.

One thing to be mindful of - run0 lacks a config file to manage which variables are preserved. It can be easily handled via `alias foobar="run0 --setenv=foobar"`

@xexaxo which ones do you need preserved?
@pid_eins @xexaxo On NixOS eg TERMINFO and TERMINFO_DIRS

@pid_eins DEBUGINFOD_URLS, if you recall my gdb/debugging confusion at ASG.

Props again to Mike for the pointer.

@brauner Now the question is, can you make it cache authorization for a pts?

Answering a 100 PolicyKit prompts for a 100 command runs is very time consuming

@juliank @brauner that needs a change in polkit that is pending review, then it will
@brauner How did you handle PAM?