Bug 1468267 - Missing "-Z" flag to "userdel -r useruuser"
Missing "-Z" flag to "userdel -r useruuser"
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: doc-SELinux_Users_and_Administrators_Guide (Show other bugs)
7.3
Unspecified Unspecified
low Severity low
: rc
: ---
Assigned To: Mirek Jahoda
ecs-bugs
: Documentation
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-06 10:03 EDT by Renaud Métrich
Modified: 2017-08-02 11:29 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-08-02 11:29:36 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Renaud Métrich 2017-07-06 10:03:02 EDT
Document URL: 

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/SELinux_Users_and_Administrators_Guide/sect-Security-Enhanced_Linux-Confining_Users-Confining_New_Linux_Users_useradd.html

Section Number and Name: 

6.2. CONFINING NEW LINUX USERS: USERADD

Describe the issue: 

In step 5, last line, the command to run should be "userdel -Z -r useruuser" so that SELinux user mapping gets also removed (instead of "userdel -r useruuser").
Comment 3 Mirek Jahoda 2017-08-02 11:29:36 EDT
The update has been published on the Customer Portal:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/SELinux_Users_and_Administrators_Guide/index.html

Note You need to log in before you can comment on or make changes to this bug.