RHEL7 - exclude the user 'nfsnobody' from accounts_users_home_files_*#8393
Merged
Mab879 merged 1 commit intoComplianceAsCode:stabilization-v0.1.61from Mar 22, 2022
Conversation
Member
|
I'm getting SSGTS failures on a local VM as well. RHEL7RHEL8RHEL9Rule is excluded via prodtype. Do we need to change the UID of nobody to 99 on RHEL7? |
yuumasato
commented
Mar 21, 2022
Although we already exclude the user with username 'nobody', in some systems (at least RHEL7) the user 'nobody' has uid 99, and the user 'nfsnobody' has uid 65534. This patch excludes the user with name nfsnobody from the check on RHEL7 systems.
1718711 to
c45916e
Compare
Member
Author
|
I have changed my approach to filter out the
I think the previous approach with default |
Mab879
approved these changes
Mar 22, 2022
This was referenced Mar 24, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
nfsnobodyon RHEL7 systems.Rationale:
Although we already exclude the user with username 'nobody', in some systems (RHEL7) the user 'nobody' has UID 99, and the user 'nfsnobody' has UID 65534.
Fixes RHEL 7 -
accounts_users_home_files_*rules check/var/lib/nfs/directory #8352Interesting reference: https://fedoraproject.org/wiki/Changes/RenameNobodyUser