Replace: # useradd -c "Tomcat" -u 91 -g tomcat -s /sbin/nologin -r tomcat With: # useradd -c "Tomcat" -u 91 -g tomcat -s /bin/sh -r tomcat Reason: It would be impossible to login as user tomcat
Now available on the customer portal: https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Web_Server/2.1/