From df4a29dcf842f75d9c62a81f171fc8413198de76 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 6 Jul 2010 17:38:31 -0700 Subject: Change user name validation Do username validation in perl script. This allows for checking for what is allowed, versus what is recommended. For compatiablity we allow things like upper case user names which but this is not recommended so these names produce a warning. --- templates/system/login/user/node.def | 3 --- 1 file changed, 3 deletions(-) (limited to 'templates/system') diff --git a/templates/system/login/user/node.def b/templates/system/login/user/node.def index 751767d6..7e56ca0f 100644 --- a/templates/system/login/user/node.def +++ b/templates/system/login/user/node.def @@ -2,9 +2,6 @@ tag: type: txt help: Set user account information -syntax:expression: pattern $VAR(@) "^[a-zA-Z_][a-zA-Z0-9_-]*\\$?$" - ; "invalid user name $VAR(@)" - syntax:expression: exec "/opt/vyatta/sbin/vyatta_check_username.pl $VAR(@)" commit:expression: $VAR(authentication/encrypted-password) != "" -- cgit v1.2.3