From 0fcc8444f1ec7dd9463ff288e3f0497188916f34 Mon Sep 17 00:00:00 2001 From: en1gma713 <60906502+en1gma713@users.noreply.github.com> Date: Mon, 5 Oct 2020 13:17:56 -0500 Subject: [PATCH 1/6] Create login.md --- pages/linux/login.md | 20 ++++++++++++++++++++ 1 file changed, 20 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 0000000000000..5db45be3cf2c7 --- /dev/null +++ b/pages/linux/login.md @@ -0,0 +1,20 @@ +# Login + +> Initiates a session for a user + + +- Login as 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 user with remote host: + +`login -h [host] [user] From 458975764ced19c64c59b1307738d04da9923023 Mon Sep 17 00:00:00 2001 From: en1gma713 <60906502+en1gma713@users.noreply.github.com> Date: Mon, 5 Oct 2020 13:18:51 -0500 Subject: [PATCH 2/6] Update login.md --- pages/linux/login.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/linux/login.md b/pages/linux/login.md index 5db45be3cf2c7..447879b47fab9 100644 --- a/pages/linux/login.md +++ b/pages/linux/login.md @@ -9,12 +9,12 @@ - Login as user without authentication if user is preauthenticated: -`login -f [user] +`login -f [user]` - Login as user and preserve environment: -`login -p [user] +`login -p [user]` - Login as user with remote host: -`login -h [host] [user] +`login -h [host] [user]` From b42e74ecb51c874bb8abb8bc7a5e3642b151ef90 Mon Sep 17 00:00:00 2001 From: en1gma713 <60906502+en1gma713@users.noreply.github.com> Date: Mon, 5 Oct 2020 15:04:10 -0500 Subject: [PATCH 3/6] Update login.md --- pages/linux/login.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/pages/linux/login.md b/pages/linux/login.md index 447879b47fab9..1a327ffe4a012 100644 --- a/pages/linux/login.md +++ b/pages/linux/login.md @@ -1,20 +1,14 @@ # Login - -> Initiates a session for a user - +> Initiates a session for a user. - Login as 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 user with remote host: - `login -h [host] [user]` From c7e46be9cd1ca008ff9129fc90cb994eb1b4df2e Mon Sep 17 00:00:00 2001 From: en1gma713 <60906502+en1gma713@users.noreply.github.com> Date: Mon, 5 Oct 2020 15:05:28 -0500 Subject: [PATCH 4/6] Update login.md --- pages/linux/login.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pages/linux/login.md b/pages/linux/login.md index 1a327ffe4a012..e5a03a1edc754 100644 --- a/pages/linux/login.md +++ b/pages/linux/login.md @@ -1,14 +1,19 @@ # Login + > Initiates a session for a user. - Login as 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 user with remote host: + `login -h [host] [user]` From 0ca71a051df63cf610e86a752133bd45a7d37f3f Mon Sep 17 00:00:00 2001 From: en1gma713 <60906502+en1gma713@users.noreply.github.com> Date: Tue, 6 Oct 2020 06:44:02 -0500 Subject: [PATCH 5/6] Update login.md --- pages/linux/login.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pages/linux/login.md b/pages/linux/login.md index e5a03a1edc754..0da18a2bc63fb 100644 --- a/pages/linux/login.md +++ b/pages/linux/login.md @@ -2,18 +2,18 @@ > Initiates a session for a user. -- Login as user: +- Login as a user: -`login [user]` +`login {{user}}` - Login as user without authentication if user is preauthenticated: -`login -f [user]` +`login -f {{user}}` - Login as user and preserve environment: -`login -p [user]` +`login -p {{user}}` -- Login as user with remote host: +- Login as a user on a remote host: -`login -h [host] [user]` +`login -h {{host}} {{user}}` From d0dd1b3636d070cd8c7917b30272b8ad6881fef5 Mon Sep 17 00:00:00 2001 From: en1gma713 <60906502+en1gma713@users.noreply.github.com> Date: Tue, 6 Oct 2020 06:51:28 -0500 Subject: [PATCH 6/6] Update login.md --- pages/linux/login.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/login.md b/pages/linux/login.md index 0da18a2bc63fb..d004e47b0b1b7 100644 --- a/pages/linux/login.md +++ b/pages/linux/login.md @@ -1,4 +1,4 @@ -# Login +# login > Initiates a session for a user.