Debian / Ubuntu / Devuan:

  • adduser --system --group --no-create-home --home /var/lib/enswitch/home --disabled-password enswitch

Others:

  • groupadd -r enswitch
  • useradd -r -g enswitch -d /var/lib/enswitch/home enswitch

On multiple machine installations, ensure that the enswitch UIDs and GIDs are the same across all machines in the cluster.