aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/openssh/postinstall
blob: 981ce237089a999b4416b4c9e9a4373a671979eb (plain)
1
2
3
4
5
6
7
8
9
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