-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relax Check in GECOS Field: Allow any Data except Colons [master] #398
Merged
Conversation
This file contains 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
Backport SP6
* Remove duplication with the Perl module Yast::Users.
Backport namespace fix sp6
Relax Check in GECOS Field: Allow any Data except Colons [SLE-15-SP6]
shundhammer
force-pushed
the
huha-gecos-master
branch
from
August 21, 2024 13:56
aaed568
to
9da083e
Compare
Pull Request Test Coverage Report for Build 10491291387Details
💛 - Coveralls |
jreidinger
approved these changes
Aug 21, 2024
✅ Autosubmission job #10491398319 successfully finished |
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.
Target Branch
This is for the merge of #395 to master.
Bugzilla
https://bugzilla.suse.com/show_bug.cgi?id=1228149
Trello
https://trello.com/c/PLxx2iDV
Problem
PAM in connection with some desktops like GNOME need an umask specification to be set in the GECOS field (the comment / full user name field) in
/etc/passwd
.But the YaST users module complains that only 3 fields separated by commas are permitted:
This is triggered when trying to leave that tab.
Cause
There is an additional check in the ancient
Users.pm
Perl module that dates back to 2004. Why this check exists is unclear; there doesn't seem to be a reference why this limitation was introduced.Fix
Removed that check.
Test
Manual test in a TW VM. After removing this check, it doesn't complain anymore, and
/etc/password
now contains the expected entry:Further Reading
man 1 chfn
man 8 pam_umask
Related PR