aboutsummaryrefslogtreecommitdiff
path: root/security/openssh-portable
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-06-24 23:17:03 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-06-24 23:17:03 +0000
commit711a2af34dc6c9c5e3c1c4a1edccac84bf3b1d43 (patch)
tree176b3ac9e605c5b0d76678278e57e6148118952c /security/openssh-portable
parentdea8f0280a584edbef126d277ea5d89b0296166f (diff)
downloadports-711a2af34dc6c9c5e3c1c4a1edccac84bf3b1d43.tar.gz
ports-711a2af34dc6c9c5e3c1c4a1edccac84bf3b1d43.zip
Notes
Diffstat (limited to 'security/openssh-portable')
-rw-r--r--security/openssh-portable/pkg-plist3
1 files changed, 3 insertions, 0 deletions
diff --git a/security/openssh-portable/pkg-plist b/security/openssh-portable/pkg-plist
index 4c71fad37b75..6069da804ff3 100644
--- a/security/openssh-portable/pkg-plist
+++ b/security/openssh-portable/pkg-plist
@@ -11,4 +11,7 @@ sbin/sshd
share/Ssh.bin
libexec/sftp-server
libexec/ssh-keysign
+@exec mkdir -p %D/empty
@dirrm empty
+@exec if ! pw groupshow sshd 2>/dev/null; then pw groupadd sshd -g 22; fi
+@exec if ! pw usershow sshd 2>/dev/null; then pw useradd sshd -g smmsp -u 22 -h - -d %D/empty -s /nonexistent -c "sshd privilege separation"; fi