|
#!/bin/execlineb -P
|
|
s6-envdir -i /etc/s6/env/core/path
|
|
importas -i PATH PATH
|
|
emptyenv
|
|
|
|
export PATH $PATH
|
|
define SHELL /sbin/nologin
|
|
define USER sshd
|
|
|
|
fdclose 1
|
|
fdclose 2
|
|
|
|
foreground {
|
|
exec adduser -s $SHELL -H -D $USER
|
|
} if -nt {
|
|
importas status ? test $status -eq 1
|
|
}
|