Files
ports/core/openssh/install
2018-11-03 23:04:10 +08:00

5 lines
181 B
Plaintext
Executable File

pre_install() {
getent group sshd >/dev/null || groupadd -g 50 sshd
getent passwd sshd >/dev/null || useradd -c "sshd PrivSep" -d /var/lib/sshd -g sshd -s /bin/false -u 50 sshd
}