diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-01-29 19:51:44 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-02-02 16:02:20 +0100 |
commit | 029cefc84a30fa9f34af58bfdc1dadaaf5a220db (patch) | |
tree | ec4439bc1b255b4e837434ebda5a6bfca56c0b63 /interface-definitions | |
parent | 96f5fae930b8213c199069c7aab079c6fb9cd334 (diff) | |
download | vyos-1x-029cefc84a30fa9f34af58bfdc1dadaaf5a220db.tar.gz vyos-1x-029cefc84a30fa9f34af58bfdc1dadaaf5a220db.zip |
login: T1948: add/remove local users
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/system-login.xml.in | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/interface-definitions/system-login.xml.in b/interface-definitions/system-login.xml.in index 33197d191..6e990290d 100644 --- a/interface-definitions/system-login.xml.in +++ b/interface-definitions/system-login.xml.in @@ -2,7 +2,7 @@ <interfaceDefinition> <node name="system"> <children> - <node name="login" owner="${vyos_conf_scripts_dir}/system_login.py"> + <node name="login" owner="${vyos_conf_scripts_dir}/system-login.py"> <properties> <help>User Login</help> <priority>400</priority> @@ -84,11 +84,12 @@ <constraint> <regex>(\*|\!)</regex> <regex>[a-zA-Z0-9\.\/]{13}$</regex> - <regex>\$1\$[a-zA-Z0-9\./]*\$[a-zA-Z0-9\./]{22}$</regex> - <regex>\$5\$[a-zA-Z0-9\./]*\$[a-zA-Z0-9\./]{43}$</regex> - <regex>\$6\$[a-zA-Z0-9\./]*\$[a-zA-Z0-9\./]{86}$</regex> + <regex>\$1\$[a-zA-Z0-9\./]*\$[a-zA-Z0-9\./]{22}</regex> + <regex>\$5\$[a-zA-Z0-9\./]*\$[a-zA-Z0-9\./]{43}</regex> + <regex>\$6\$[a-zA-Z0-9\./]*\$[a-zA-Z0-9\./]{86}</regex> </constraint> <constraintErrorMessage>Invalid encrypted password for $VAR(../../@).</constraintErrorMessage> + </properties> </leafNode> <leafNode name="plaintext-password"> |