From f4c4ce22cccfab44e96701ec4bf7520edc7656b1 Mon Sep 17 00:00:00 2001 From: en1gma713 <60906502+en1gma713@users.noreply.github.com> Date: Tue, 6 Oct 2020 06:52:50 -0500 Subject: [PATCH] login: add page (#4509) --- pages/linux/login.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pages/linux/login.md diff --git a/pages/linux/login.md b/pages/linux/login.md new file mode 100644 index 0000000000..d004e47b0b --- /dev/null +++ b/pages/linux/login.md @@ -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}}`