]> git.pld-linux.org Git - packages/pwdutils.git/blobdiff - pwdutils.login.defs
- locale-independent CHARACTER_CLASS setting (from supplied login.defs)
[packages/pwdutils.git] / pwdutils.login.defs
index 82ccc7208b4dd7fd2aee517afb7544d2d14c53b1..b460ecbe7c56f82cf2c78ec600e8da49db0e8629 100644 (file)
@@ -150,10 +150,11 @@ GID_MAX                   60000
 
 #
 # User/group names must match the following regex expression.
-# The default is [A-Za-z_][A-Za-z0-9_.-]*[A-Za-z0-9_.$-]\?
-# Address this issue:
-# http://lists.suse.com/archive/pwdutils/2004-Nov/0003.html
-#CHARACTER_CLASS               [[:alpha:]_][[:alnum:]_.-]*[[:alnum:]_.$-]\?
+# The default is [A-Za-z_][A-Za-z0-9_.-]*[A-Za-z0-9_.$-]\?,
+# but be aware that the result could be depend on the locale settings.
+#
+#CHARACTER_CLASS               [A-Za-z_][A-Za-z0-9_.-]*[A-Za-z0-9_.$-]\?
+CHARACTER_CLASS                [ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_][ABCDEFGHIJKLMNOPQRSTUVWXYabcdefghijklmnopqrstuvwxyz0123456789_.-]*[ABCDEFGHIJKLMNOPQRSTUVWXYabcdefghijklmnopqrstuvwxyz01234567899_.$-]\?
 
 #
 # Umask which is used by useradd and newusers for creating
This page took 0.059748 seconds and 4 git commands to generate.