diff options
Diffstat (limited to 'repos/extra/openssh/postinstall')
| -rwxr-xr-x | repos/extra/openssh/postinstall | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/repos/extra/openssh/postinstall b/repos/extra/openssh/postinstall new file mode 100755 index 00000000..981ce237 --- /dev/null +++ b/repos/extra/openssh/postinstall @@ -0,0 +1,10 @@ +#!/bin/sh + +getent group sshd >/dev/null || groupadd -g 50 sshd +getent passwd messagebus >/dev/null || \ + useradd -c 'sshd PrivSep' \ + -d /var/lib/sshd \ + -g sshd \ + -s /bin/false \ + -u 50 sshd + |