diff --git a/package/yast2-users.changes b/package/yast2-users.changes index 955b3ba2d..12eaf2dc7 100644 --- a/package/yast2-users.changes +++ b/package/yast2-users.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Aug 21 13:21:10 UTC 2024 - Stefan Hundhammer + +- 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 diff --git a/package/yast2-users.spec b/package/yast2-users.spec index 1e6cce899..7e91c1eaa 100644 --- a/package/yast2-users.spec +++ b/package/yast2-users.spec @@ -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 diff --git a/src/modules/Users.pm b/src/modules/Users.pm index 63c1a13a1..96cae8c14 100644 --- a/src/modules/Users.pm +++ b/src/modules/Users.pm @@ -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 ""; }