Commit 48744c76 authored by Julien Leduc's avatar Julien Leduc
Browse files

Adding cta user and cta group in ctafrontend as there is no rpm installed in the buildtree case.

parent 07d0d50c
......@@ -34,4 +34,10 @@ if [[ -n ${BUILDTREE_BASE} ]]; then
yum-config-manager() { echo "Skipping yum-config-manager $@"; }
yum() { echo "Skipping yum $@"; }
if [ "-${MY_NAME}-" == "-ctafrontend-" ]; then
echo "Adding cta user and group"
/usr/bin/getent group cta || /usr/sbin/groupadd cta
/usr/bin/getent passwd cta || /usr/sbin/useradd -s /bin/nologin -c "CTA system account" -g cta cta
Supports Markdown
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