1 2 3 4 5 6 7 8 9
#!/bin/sh user=prosody home=/var/lib/prosody adduser -h $home -s /bin/false -D $user 2>/dev/null mkdir -p $home chown $user:$user $home exit 0