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 [master] #398

Merged
merged 12 commits into from
Aug 21, 2024
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 <shundhammer@suse.com>

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

-------------------------------------------------------------------
Mon Sep 25 12:33:45 UTC 2023 - Stefan Hundhammer <shundhammer@suse.com>

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: 5.0.1
Version: 5.0.2
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