#!/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