#!/bin/sh set -e #DEBHELPER# case "$1" in configure) if ! getent passwd lkmaster >/dev/null; then # Generic user for various administrative tasks, e.g. archive creation & management # NOTE: This user needs a HOME directory, mostly because of GnuPG silliness adduser \ --system \ --disabled-login \ --disabled-password \ --home /var/lib/laniakea/home \ --group \ lkmaster # web user needs to be a member of the master user group for HTTPS web uploads # (if they happen on the same machine, without proxy) adduser lkweb lkmaster fi ;; esac exit 0