aboutsummaryrefslogtreecommitdiff
path: root/security/openssh-portable/pkg-plist
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-06-26 15:21:27 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-06-26 15:21:27 +0000
commit6e92b681172f0b572e7431589d5f0146f1eecc51 (patch)
tree5b56fee9afd3790f6331df3ff44aabbf157bc65b /security/openssh-portable/pkg-plist
parente5e7ae144edca709d343fe5420e331a8287b3444 (diff)
Notes
Diffstat (limited to 'security/openssh-portable/pkg-plist')
-rw-r--r--security/openssh-portable/pkg-plist1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/openssh-portable/pkg-plist b/security/openssh-portable/pkg-plist
index b2df58c55ca3..a20e02c1426b 100644
--- a/security/openssh-portable/pkg-plist
+++ b/security/openssh-portable/pkg-plist
@@ -33,5 +33,6 @@ libexec/ssh-keysign
%%NOTBASE%%@exec if [ ! -f %D/etc/ssh/ssh_host_dsa_key ]; then echo ">> Generating a secret DSA host key."; %D/bin/ssh-keygen -t dsa -N "" -f %D/etc/ssh/ssh_host_dsa_key; fi
%%NOTBASE%%@exec mkdir -p %D/empty
%%NOTBASE%%@dirrm empty
+%%BASE%%@exec mkdir -p %%EMPTYDIR%%
@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 sshd -u 22 -h - -d %%EMPTYDIR%% -s /nonexistent -c "sshd privilege separation"; fi