Email or username:

Password:

Forgot your password?
Top-level
exi

@pid_eins I like the idea for everyday use. What happens when I try to use it in a chroot/emergency shell without a running service manager? Is there a fallback or would I still need sudo?

3 comments
Lennart Poettering

@exi if you are in a chroot/emergency shell then you are root anyway, why bother with sudo then?

exi

@pid_eins Mostly just "sudo -u someOtherUser someTool" when I need to run stuff with different user.

Lennart Poettering replied to exi

@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).

Go Up