Skip to main content
ertius.org

machinectl to switch users

It's very handy to get a new very-login-y shell without ssh'ing to localhost, but I keep forgetting the syntax, so, it's just:

$ machinectl shell someuser@

It gets you a user-systemd, even.