diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-06-10 21:35:07 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-06-10 21:36:26 +0200 |
commit | 8198cbaa4cf9472a0589a8cddc5f5a5da50b224f (patch) | |
tree | 328299293835e229b77adf780634d67c3e64cb22 /interface-definitions/include/ssh-user.xml.i | |
parent | 775eaa3f20c56a357130e8c08ec2c35033db8fd9 (diff) | |
download | vyos-1x-8198cbaa4cf9472a0589a8cddc5f5a5da50b224f.tar.gz vyos-1x-8198cbaa4cf9472a0589a8cddc5f5a5da50b224f.zip |
xml: ssh: move user/group definition to includable files
(cherry picked from commit 556e03922f78f8e258c6d6630ad47569be376e11)
Diffstat (limited to 'interface-definitions/include/ssh-user.xml.i')
-rw-r--r-- | interface-definitions/include/ssh-user.xml.i | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/interface-definitions/include/ssh-user.xml.i b/interface-definitions/include/ssh-user.xml.i new file mode 100644 index 000000000..677602dd8 --- /dev/null +++ b/interface-definitions/include/ssh-user.xml.i @@ -0,0 +1,12 @@ +<!-- include start from ssh-user.xml.i --> +<leafNode name="user"> + <properties> + <help>Allow specific users to login</help> + <constraint> + <regex>[a-z_][a-z0-9_-]{1,31}[$]?</regex> + </constraint> + <constraintErrorMessage>illegal characters or more than 32 characters</constraintErrorMessage> + <multi/> + </properties> +</leafNode> +<!-- include end --> |