# Make sure the mLogic group exists MLOGIC_GROUP=mlogic groupadd --force $MLOGIC_GROUP # Create the user appuserid=$(id -u @PROJECT_NAME@) if [ ! $appuserid ] ; then useradd --groups $MLOGIC_GROUP --no-create-home @PROJECT_NAME@ fi # Prevent direct login passwd --lock @PROJECT_NAME@ # Change group ownership of log folder chgrp $MLOGIC_GROUP @PROJCOMP_LOG_INSTALL_DIR@ # Change group ownership of run folder chgrp $MLOGIC_GROUP @PROJCOMP_RUN_INSTALL_DIR@