Bug 955769
Summary: | useradd not assigning correct SELinux user to contexts of home directory files | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Brandon <brandon> | |
Component: | shadow-utils | Assignee: | Tomas Mraz <tmraz> | |
Status: | CLOSED ERRATA | QA Contact: | Dalibor Pospíšil <dapospis> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 6.6 | CC: | dapospis, mmalik, spencer, tlavigne | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | shadow-utils-4.1.4.2-19.el6 | Doc Type: | Bug Fix | |
Doc Text: |
Cause:
The useradd assigned the SELinux user to the new user being created after creating and populating the home directory of the user.
Consequence:
The SELinux contexts of the home directory files were incorrect.
Fix:
The SELinux user is assigned to the newly created user before populating the home directory.
Result:
The SELinux contexts on the home directory files for newly created users are now correct.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1077809 1134450 (view as bug list) | Environment: | ||
Last Closed: | 2014-10-14 07:16:47 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
Brandon
2013-04-23 18:40:28 UTC
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate, in the next release of Red Hat Enterprise Linux. The fixed useradd moves the SELinux login entry creation before creation of the user's home directory. This allows SELinux to create the directory with proper context. 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. http://rhn.redhat.com/errata/RHBA-2014-1522.html |