Skip to content
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 [SLE-15-SP6] #395

Merged
merged 2 commits into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions package/yast2-users.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Aug 21 13:21:10 UTC 2024 - Stefan Hundhammer <[email protected]>

- Relax check in GECOS field (bsc#1228149):
Allow any data except colons
- 4.6.6

-------------------------------------------------------------------
Wed Aug 21 12:33:48 UTC 2024 - Josef Reidinger <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-users.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-users
Version: 4.6.5
Version: 4.6.6
Release: 0
Summary: YaST2 - User and Group Configuration
License: GPL-2.0-only
Expand Down
8 changes: 0 additions & 8 deletions src/modules/Users.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4659,14 +4659,6 @@ sub CheckGECOS {
contain a colon (:). Try again.");
}

my @gecos_l = split (/,/, $gecos);
if (@gecos_l > 3 ) {
# error popup
return __("The \"Additional User Information\" entry can consist
of up to three sections separated by commas.
Remove the surplus.");
}

return "";
}

Expand Down
Loading