Commit 90bec707 authored by Edileuton Henrique de Oliveira's avatar Edileuton Henrique de Oliveira
Browse files

buildpackage: Add "-r" option in useradd to create the seed_mec like a system user

Signed-off-by: default avatarEdileuton Henrique de Oliveira <>
parent 9d364eb2
......@@ -180,7 +180,7 @@ TMPSKEL=$(mktemp -d)
# Create seed_mec user with seed_mec as group, BASH as default shell,
# $SEED_MEC_HOME as home and $TMPSKEL as temporary skel
/usr/sbin/useradd -m -g seed_mec -s /bin/bash -d "${SEED_MEC_HOME}" \
/usr/sbin/useradd -r -m -g seed_mec -s /bin/bash -d "${SEED_MEC_HOME}" \
-k "${TMPSKEL}" seed_mec
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment