Skip to content

Commit

Permalink
login: add page (#4509)
Browse files Browse the repository at this point in the history
  • Loading branch information
en1gma713 committed Oct 6, 2020
1 parent 4cb55a1 commit f4c4ce2
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions pages/linux/login.md
Original file line number Diff line number Diff line change
@@ -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}}`

0 comments on commit f4c4ce2

Please sign in to comment.