I've found references to this, but it says it will interactively ask for a password.
dm-tool switch-to-user USERNAME
I need to be able to just log in that user, non-interactively, either bypassing the password or supplying it in my script. I cannot depend on user interaction.
I've found references to this, but it says it will interactively ask for a password.
I need to be able to just log in that user, non-interactively, either bypassing the password or supplying it in my script. I cannot depend on user interaction.