Bug 1654248

Summary: /etc/login.defs trailing space
Product: Red Hat Enterprise Linux 8 Reporter: Markus Schibli <mschibli>
Component: shadow-utilsAssignee: Tomas Mraz <tmraz>
Status: CLOSED CURRENTRELEASE QA Contact: Robin Hack <rhack>
Severity: low Docs Contact:
Priority: low    
Version: 8.0CC: dapospis, mschibli, rhack
Target Milestone: rc   
Target Release: 8.0   
Hardware: All   
OS: Linux   
Fixed In Version: shadow-utils-4.6-6.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-14 01:18:39 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:
Bug Depends On:    
Bug Blocks: 1623566, 1647562    

Description Markus Schibli 2018-11-28 10:23:10 UTC
Description of problem:
The file /etc/login.defs is causing to pop up as difference on customer's systems because of the last line of the file which is "ENCRYPT_METHOD SHA512 " and contains a trailing space. 

Version-Release number of selected component (if applicable):
# rpm -qf /etc/login.defs

How reproducible:
# grep  ' $' /etc/login.defs
# The permission mask is initialized to this value. If not specified, 

Actual results:
Trailing space at the end of ENCRYPT_METHOD SHA512 in /etc/login.defs

Expected results:
no trailling space at the end of the line ENCRYPT_METHOD SHA512 in /etc/login.defs

Additional info: