@exi if you are in a chroot/emergency shell then you are root anyway, why bother with sudo then?
Top-level
@exi if you are in a chroot/emergency shell then you are root anyway, why bother with sudo then? 2 comments
@exi that sounds like a usecase for util-linux' setpriv really, i.e. in such an "offline" case you really don't want the PAM session and everything it entails, hence sudo isn't really the right tool anyway (and neither is run0). |
@pid_eins Mostly just "sudo -u someOtherUser someTool" when I need to run stuff with different user.