Description of problem:
Default shell for tomcat user is set as /bin/nologin. This binary is not present on RHEL machines, there is /sbin/nologin or /usr/sbin/nologin
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install tomcat (or whichever package creates the user)
2. getent passwd tomcat | cut -d: -f7
@Jan Stourac: Are we affected in JWS?
@Michal: I've just checked - JWS is safe using /sbin/nologin executable when creating a new user (both for Tomcat 7 and Tomcat 8).
*** Bug 1315858 has been marked as a duplicate of this bug. ***
*** Bug 1343207 has been marked as a duplicate of this bug. ***
*** Bug 1365885 has been marked as a duplicate of this bug. ***
Change doesn't take effect if <tomcat> user is already created by preview RPMs. There should be test if <tomcat> user exists and if so <usermod -s /sbin/nologin tomcat> should be used.
1386238 follow up issue
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.