summaryrefslogtreecommitdiff
path: root/templates
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
parent8990d88c2a0e1a4559ab5eb7f0f794ecaed65033 (diff)
downloadvyatta-cfg-quagga-2603531f2778ebf544b694d6f0aa356aa91753ff.tar.gz
vyatta-cfg-quagga-2603531f2778ebf544b694d6f0aa356aa91753ff.zip
prevent ':' in full name (separator in passwd)
Diffstat (limited to 'templates')
-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"