#!/bin/execlineb -P
define SHELL /sbin/nologin
define USER sshd
s6-envdir -i /etc/s6/env/path
emptyenv -p
# TODO: Handle user already being present
foreground {
adduser -s $SHELL -H -D $USER
} if -nt {
importas status ? test $status -eq 1
}