mirror of https://github.com/CrimsonTome/tldr.git
20 lines
306 B
Markdown
20 lines
306 B
Markdown
# login
|
|
|
|
> Initiates a session for a user.
|
|
|
|
- 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}}`
|