1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 11:19:46 +01:00
tldr/pages/linux/login.md
2021-08-16 12:34:01 +02:00

354 B

login

Initiates a session for a user. More information: https://manned.org/login.

  • Log in as a user:

login {{user}}

  • Log in as user without authentication if user is preauthenticated:

login -f {{user}}

  • Log in as user and preserve environment:

login -p {{user}}

  • Log in as a user on a remote host:

login -h {{host}} {{user}}