summaryrefslogtreecommitdiff
path: root/templates/system/login
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2008-02-11 17:02:35 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2008-02-11 17:02:35 -0800
commit2603531f2778ebf544b694d6f0aa356aa91753ff (patch)
tree16efe986e5b972771335ea6c8d7632ff3ef14ad8 /templates/system/login
parent8990d88c2a0e1a4559ab5eb7f0f794ecaed65033 (diff)
downloadvyatta-cfg-system-2603531f2778ebf544b694d6f0aa356aa91753ff.tar.gz
vyatta-cfg-system-2603531f2778ebf544b694d6f0aa356aa91753ff.zip
prevent ':' in full name (separator in passwd)
Diffstat (limited to 'templates/system/login')
-rw-r--r--templates/system/login/user/node.tag/full-name/node.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/system/login/user/node.tag/full-name/node.def b/templates/system/login/user/node.tag/full-name/node.def
index f9e6149a..ef739cd0 100644
--- a/templates/system/login/user/node.tag/full-name/node.def
+++ b/templates/system/login/user/node.tag/full-name/node.def
@@ -1,2 +1,3 @@
type: txt
help: Full name of the user (use quotes for names with spaces)
+syntax:expression: pattern $VAR(@) "^[^:]+$"; "Cannot use ':' in full name"