I want to make a login using login command with password and username in one line. I've tried the echo password | sudo -S login user
but this doesn't work. Is there any other way to login with password and user name in one command?
I want to make a login using login command with password and username in one line. I've tried the echo password | sudo -S login user
but this doesn't work. Is there any other way to login with password and user name in one command?
0 Answers