Skip to content
Snippets Groups Projects
Commit e3587ebc authored by sveseli's avatar sveseli
Browse files

add system user to the db for development

parent 6535a7fa
No related branches found
No related tags found
No related merge requests found
......@@ -65,6 +65,11 @@ if [ ! -f "$DM_SYSTEM_PASSWORD_FILE" ]; then
stty $sttyOrig
echo $DM_SYSTEM_PASSWORD > $DM_SYSTEM_PASSWORD_FILE
chmod 600 $DM_SYSTEM_PASSWORD_FILE
# Add dm system user to the DB
echo "Adding $DM_SYSTEM_USER system user to the database"
dm-add-user --username=$DM_SYSTEM_USER --first-name=System --last-name=Account --password-file=$DM_SYSTEM_PASSWORD_FILE || exit 1
dm-add-user-system-role --username=$DM_SYSTEM_USER --role-name=Administrator || exit 1
fi
echo "Generating web service config files"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment