ensure_uid_non_root () {
  if [ "$(id -u)" = 0 ]; then
    echo "Must not be root; aborting." >&2
    exit 1
  fi
}
