ports/main/nnd-s6-services/rc/net/user.sshd/down

13 lines
163 B
Plaintext

#!/bin/execlineb -P
s6-envdir -i /etc/s6/env/core/path
importas -i PATH PATH
emptyenv
export PATH $PATH
define USER sshd
fdclose 1
fdclose 2
exec deluser $USER