Bug 1343207

Summary: Incorrect default shell for 'tomcat' user
Product: Red Hat Enterprise Linux 7 Reporter: Nathan Kinder <nkinder>
Component: tomcatAssignee: Coty Sutherland <csutherl>
Status: CLOSED DUPLICATE QA Contact: tomcat-qe
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-06 20:33:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nathan Kinder 2016-06-06 19:41:43 UTC
The tomcat package creates a 'tomcat' user with a default shell of '/bin/nologin'.  This should be '/sbin/nologin'.  Here is what is seen in '/etc/passwd' on a RHEL 7.2 system:

tomcat:x:91:91:Apache Tomcat:/usr/share/tomcat:/bin/nologin

This incorrect shell pops up when using OpenSCAP to scan a system.  Even if this is not an important issue, it would be nice to make the simple correction just to avoid it popping up any time someone does a scan on a system that has 'tomcat' installed.

Comment 1 Coty Sutherland 2016-06-06 20:33:19 UTC

*** This bug has been marked as a duplicate of bug 1277197 ***