Linux login Command
The Linux login command is used to log in to the system.
The login command lets users log in to the system, and you can also use it to change your login identity at any time. In Slackware distributions, you can append the username you want to log in with after the command, and it will prompt directly for the password and wait for user input. When the /etc directory contains a file named nologin, only the root account can log in to the system, and all other users are denied access.
Syntax
login
Example
Log in to the system with a new identity
# login
Linux Command Reference