🔒 Repository is read-only – file editing is disabled.
1234567891011
INFO="\033[1;36m"
NORMAL="\033[0;39m"
if ! (getent group sshd > /dev/null); then
printf "${INFO}Creating sshd group${NORMAL}\n"
groupadd -g 50 sshd
fi
if ! (getent passwd sshd > /dev/null); then
printf "${INFO}Creating sshd user${NORMAL}\n"
useradd -c 'sshd PrivSep' -d /var/lib/sshd \
-g sshd -s /usr/bin/false -u 50 sshd
fi