Files
ports/core/openssh/install
2020-04-13 14:53:21 +08:00

13 lines
272 B
Plaintext
Executable File

# package install script
action=$1
newversion=$2
oldversion=$3
case $action in
post-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
;;
esac