Skip to content

Commit 0239f51

Browse files
authored
Merge pull request #43 from mpounsett/INSTALL_USER_CREATE_ORDER
Reorder user creation and install steps in install instructions
2 parents ca574db + 31817f9 commit 0239f51

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

HPNSSHInstallation.txt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,18 @@ Make the application with “make -j[num cores]”. So if you have an 8 core sys
6262
you’d use “make -j8”
6363

6464

65-
Step 7: Installation
65+
Step 7: Set up the hpnsshd user.
66+
67+
This user is part of the privilege separation routines used in the
68+
pre-authentication sandbox. I suggest using the following command:
69+
70+
sudo useradd --system --shell /usr/sbin/nologin --comment="Privilege separated HPNSSH User" \
71+
--home=/run/hpnsshd hpnsshd
72+
73+
Alternatively, you can use vipw to add the user manually.
74+
75+
76+
Step 8: Installation
6677

6778
After HPN-SSH successfully builds, install it with “sudo make install”. This will install the
6879
binaries, configuration files, and generate the unique host keys used. At this point you can
@@ -75,17 +86,6 @@ fallback to 22 if it’s not found there. So if you do change the default port y
7586
make sure the clients point at the correct port.
7687

7788

78-
Step 8: Set up the hpnsshd user.
79-
80-
This user is part of the privilege separation routines used in the
81-
pre-authentication sandbox. I suggest using the following command:
82-
83-
sudo useradd --system --shell /usr/sbin/nologin --comment="Privilege separated HPNSSH User" \
84-
--home=/run/hpnsshd hpnsshd
85-
86-
Alternatively, you can use vipw to add the user manually.
87-
88-
8989
Step 9: Finishing up.
9090

9191
At this point you can start hpnsshd manually by running “sudo /usr/sbin/hpnsshd”

0 commit comments

Comments
 (0)