summaryrefslogtreecommitdiff
path: root/templates/system/login/user/node.def
blob: 4dffb9b70d1d589060f7645549ebd09cbc40a2cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
tag:
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"

commit:expression: $VAR(@) == "" ||
		   $VAR(authentication/plaintext-password) != "" ||
		   $VAR(authentication/plaintext-password/@) = ""

commit:expression: $VAR(@) == "" ||
		   $VAR(authentication/encrypted-password) != "" ||
		   $VAR(authentication/encrypted-password/@) = "!"