summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-09-04 09:32:47 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-09-04 09:32:47 -0700
commit75bfbbb0687f7ba66225a7b6510894c61b9735ed (patch)
tree6398cb3fd7a59f6697cb225fa5a9a34be2ecfde4 /templates
parenta0fe319ce069e15646077a635bc970b961124540 (diff)
downloadvyatta-cfg-system-75bfbbb0687f7ba66225a7b6510894c61b9735ed.tar.gz
vyatta-cfg-system-75bfbbb0687f7ba66225a7b6510894c61b9735ed.zip
Revert "Validate encrypted password field"
This reverts commit a0fe319ce069e15646077a635bc970b961124540.
Diffstat (limited to 'templates')
-rw-r--r--templates/system/login/user/node.tag/authentication/encrypted-password/node.def9
1 files changed, 0 insertions, 9 deletions
diff --git a/templates/system/login/user/node.tag/authentication/encrypted-password/node.def b/templates/system/login/user/node.tag/authentication/encrypted-password/node.def
index 5234702b..3c12bdc3 100644
--- a/templates/system/login/user/node.tag/authentication/encrypted-password/node.def
+++ b/templates/system/login/user/node.tag/authentication/encrypted-password/node.def
@@ -1,11 +1,2 @@
type: txt
help: Set encrypted password
-# Allow * or ! to disable account
-# DES format password (13 characters)
-# MD5 format ($1) and SHA format passwords
-syntax:expression: ($VAR(@) == "*" || $VAR(*) == "!" \
- || ( pattern $VAR(@) "^[a-zA-Z0-9\.\/]{13}$" ) \
- || ( pattern $VAR(@) "^\\$1\\$[a-zA-Z0-9\.\/]{8}\\$[a-zA-Z0-9\.\/]{22}$" ) \
- || ( pattern $VAR(@) "^\\$5\\$[a-zA-Z0-9\.\/]{16}\\$[a-zA-Z0-9\.\/]{43}$" ) \
- || ( pattern $VAR(@) "^\\$6\\$[a-zA-Z0-9\.\/]{16}\\$[a-zA-Z0-9\.\/]{86}$" )) \
- ; "Not a valid encrypted password for user $VAR(../../@)"