Opened 19 years ago
Closed 19 years ago
#2338 closed defect (fixed)
OpenSSH-4.6p1 "set up proper environment" needs to be done as root
| Reported by: | Guy Hylton | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.3 |
| Component: | BOOK | Version: | SVN |
| Severity: | low | Keywords: | |
| Cc: |
Description
The first part of the installation, "necessary to set up the proper environment" has to be done as root.
install -v -m700 -d /var/lib/sshd &&
chown -v root:sys /var/lib/sshd &&
groupadd -g 50 sshd &&
useradd -c 'sshd PrivSep' -d /var/lib/sshd -g sshd \
-s /bin/false -u 50 sshd
Note:
See TracTickets
for help on using tickets.

Added a note to run the commands as the root user. Thanks for the report.