Max_P, 1 year ago <span style="color:#323232;">sudo machinectl login the-user@localhost </span> That will handle all the PAM stuff as if you actually logged in.
<span style="color:#323232;">sudo machinectl login the-user@localhost </span>
That will handle all the PAM stuff as if you actually logged in.