mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-02 04:35:23 +02:00
login: add page (#4509)
This commit is contained in:
parent
4cb55a132a
commit
f4c4ce22cc
1 changed files with 19 additions and 0 deletions
19
pages/linux/login.md
Normal file
19
pages/linux/login.md
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# 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}}`
|
Loading…
Add table
Reference in a new issue