tag: type: txt help: User account information syntax:expression: exec "/opt/vyatta/sbin/vyatta_check_username.pl $VAR(@)" commit:expression: $VAR(@) == "" || $VAR(authentication/plaintext-password) != "" || $VAR(authentication/plaintext-password/@) = "" commit:expression: $VAR(@) == "" || $VAR(authentication/encrypted-password) != "" || $VAR(authentication/encrypted-password/@) = "!" end: if [ ${COMMIT_ACTION} != 'DELETE' ] && [ -z "$VAR(authentication/public-keys)" ] && [[ -z "$VAR(authentication/encrypted-password)" || "$VAR(authentication/encrypted-password/@)" = "!" ]]; then echo "either user encrypted password or public keys must be set"; exit 1; fi