#!/bin/sh

set -e

# Example script that adds a Captrap user for use with cron mode. See
# doc/cron_mode.

# This script must be run as root.

adduser --quiet --system --group --disabled-login --home \
    /var/lib/captrap/static --shell /bin/false captrap

echo Added disabled-login captrap user.
