NAMElogin — authenticate users and run personal session
DESCRIPTIONlogin interactively authenticates users by asking them to enter their username and password. The passwords are checked against the password hashes in /etc/passwd as described in passwd(5). login creates a session as the requested user upon successful authentication.
- alias for poweroff
- exit asking for powering off the computer
- exit asking for rebooting the computer
SECURITYThere is currently no method to confirm the login screen is in fact real other than witnessing a pristine boot. Local users can log in and show a counterfeit login screen that look and behave like the real login program and trick the next user into revealing their password.
ENVIRONMENTlogin sets the following environment variables to match the authenticated user:
- home directory
- user database (see passwd(5))
- textual interface is forced if this file exists