login: add page (#4509)

beep
en1gma713 2020-10-06 06:52:50 -05:00 committed by GitHub
parent 4cb55a132a
commit f4c4ce22cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 0 deletions

19
pages/linux/login.md Normal file
View 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}}`