Bug 1277197
Summary: | tomcat user has non-existing default shell set | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Marek Haicman <mhaicman> | |
Component: | tomcat | Assignee: | Coty Sutherland <csutherl> | |
Status: | CLOSED ERRATA | QA Contact: | fgoldefu | |
Severity: | low | Docs Contact: | Lenka Špačková <lkuprova> | |
Priority: | low | |||
Version: | 7.2 | CC: | asakure, bugzilla, jonderka, jstourac, mbabacek, nkinder, rhatlapa | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
Newly installed _tomcat_ package has a correct shell pointing to `/sbin/nologin`
Previously, the postinstall script set the Tomcat shell to `/bin/nologin`, which does not exist. Consequently, users failed to get a helpful message about the login access denial when attempting to log in as Tomcat user. This bug has been fixed, and the postinstall script now corectly sets the Tomcat shell to `/sbin/nologin`.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1386238 (view as bug list) | Environment: | ||
Last Closed: | 2016-11-03 21:09:33 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1298191, 1313485, 1386238 |
Description
Marek Haicman
2015-11-02 16:18:58 UTC
@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. https://rhn.redhat.com/errata/RHSA-2016-2599.html |