mirror of https://github.com/CrimsonTome/tldr.git
20 lines
302 B
Markdown
20 lines
302 B
Markdown
# login
|
|
|
|
> Initiates a session for a user.
|
|
|
|
- Login as a user:
|
|
|
|
`login {{user}}`
|
|
|
|
- Login as user without authentication if user is preauthenticated:
|
|
|
|
`login -f {{user}}`
|
|
|
|
- Login as user and preserve environment:
|
|
|
|
`login -p {{user}}`
|
|
|
|
- Login as a user on a remote host:
|
|
|
|
`login -h {{host}} {{user}}`
|