13 lines
244 B
Bash
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}
|