Skip to content

Commit

Permalink
T720: allow dots in user names as per POSIX 2008 portable character set.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmbaturin committed Oct 29, 2018
1 parent 6daba1e commit 14bff04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/system/login/user/node.def
Original file line number Diff line number Diff line change
Expand Up @@ -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) != "" ||
Expand Down

0 comments on commit 14bff04

Please sign in to comment.