Colin Guthrie <gm...@colin.guthr.ie> writes: > Michał Zegan wrote on 31/07/15 12:37: >> The thing is, if the user does it, then after he leaves, the process >> is running under the user's session. >> If I log in to my own account, su to the other user and start the >> process and then logout, this process, even though running as the >> other user, is in my own session. >> Actually it is sometimes confusing to see utmp entries saying >> different things than loginctl ;) >> > > Using tools like su is rarely doing what you expect. It doesn't start a > new pam session and doesn't start a systemd --user etc. etc.
Is there a tool like su that does do that? That is, a way to switch from root to another user without authenticating, that does start a PAM session and register with logind and all of that. That's something that would be useful, if it's possible... _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel