diff options
author | Daniil Baturin <daniil@baturin.org> | 2018-10-29 16:22:29 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2018-10-29 16:22:29 +0100 |
commit | 14bff0423ab4fa748056615f398d1e464c1204d9 (patch) | |
tree | 44833c2a2c767b39cedf5aeedc40da5c9396f435 /templates/system/login | |
parent | 6daba1eb14430aa02f8f56614188a598b383c8ef (diff) | |
download | vyatta-cfg-system-14bff0423ab4fa748056615f398d1e464c1204d9.tar.gz vyatta-cfg-system-14bff0423ab4fa748056615f398d1e464c1204d9.zip |
T720: allow dots in user names as per POSIX 2008 portable character set.
Diffstat (limited to 'templates/system/login')
-rw-r--r-- | templates/system/login/user/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/system/login/user/node.def b/templates/system/login/user/node.def index 5f83fe54..4dffb9b7 100644 --- a/templates/system/login/user/node.def +++ b/templates/system/login/user/node.def @@ -3,7 +3,7 @@ type: txt help: User account information syntax:expression: exec "/opt/vyatta/sbin/vyatta_check_username.pl $VAR(@)" -syntax:expression: exec "${vyos_libexec_dir}/validate-value.py --regex \'^[a-zA-Z0-9\-_]{1,100}\' --value \'$VAR(@)\'"; "illegal characters in username or longer than 100 chars" +syntax:expression: exec "${vyos_libexec_dir}/validate-value.py --regex \'^[a-zA-Z0-9\-_\.]{1,100}\' --value \'$VAR(@)\'"; "illegal characters in username or longer than 100 chars" commit:expression: $VAR(@) == "" || $VAR(authentication/plaintext-password) != "" || |