1
0
forked from suse-edge/Factory
Factory/ironic-ipa-downloader-image/configure-nonroot.sh

13 lines
244 B
Bash

#!/usr/bin/bash
NONROOT_UID=10475
NONROOT_GID=10475
USER="ironic-suse"
groupadd -r -g ${NONROOT_GID} ${USER}
useradd -r -g ${NONROOT_GID} \
-u ${NONROOT_UID} \
-d /home \
-s /sbin/nologin \
${USER}