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

If using NFS, ensure that the enswitch UIDs and GIDs are the same across all machines in the cluster.