From 39afa9e9fb14a86fe32d0b9a92d2030437f178b6 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Feb 06 2019 16:24:50 +0000 Subject: Drop the user name regexp from the manual as it is not exact. --- diff --git a/shadow-4.5-goodname.patch b/shadow-4.5-goodname.patch index 2f82828..b107e3f 100644 --- a/shadow-4.5-goodname.patch +++ b/shadow-4.5-goodname.patch @@ -64,7 +64,7 @@ Index: shadow-4.5/man/groupadd.8.xml =================================================================== --- shadow-4.5.orig/man/groupadd.8.xml +++ shadow-4.5/man/groupadd.8.xml -@@ -256,10 +256,14 @@ +@@ -256,10 +256,12 @@ CAVEATS @@ -78,8 +78,6 @@ Index: shadow-4.5/man/groupadd.8.xml + Dashes are not allowed at the beginning of the groupname. + Fully numeric groupnames and groupnames . or .. are + also disallowed. -+ -+ In regular expression terms: [a-zA-Z0-9_.][a-zA-Z0-9_.-]*[$]? Groupnames may only be up to &GROUP_NAME_MAX_LENGTH; characters long. @@ -87,7 +85,7 @@ Index: shadow-4.5/man/useradd.8.xml =================================================================== --- shadow-4.5.orig/man/useradd.8.xml +++ shadow-4.5/man/useradd.8.xml -@@ -633,10 +633,16 @@ +@@ -633,10 +633,14 @@ @@ -103,8 +101,6 @@ Index: shadow-4.5/man/useradd.8.xml + also disallowed. It is not recommended to use usernames beginning + with . character as their home directories will be hidden in + the ls output. -+ -+ In regular expression terms: [a-zA-Z0-9_.][a-zA-Z0-9_.-]*[$]? Usernames may only be up to 32 characters long.