Is there any possibility to login as a different user while changing also the environment (or how do you say the wallpaper, shortcuts,...) via terminal command like
Like when you click switch user in the up right corner where your name is and then you log in to a different account.
By environment I mean the thing you see when you boot up the computer and normally login through the login screen. You have your wallpaper, toolbar etc.
So I just want to open terminal in my adam's environment and type
login --change-enviroment john, rather than clicking adam in the up right corner, logging off and logging in like john