summaryrefslogtreecommitdiff
path: root/interface-definitions/include/constraint
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-05-05 22:52:06 +0200
committerChristian Breunig <christian@breunig.cc>2023-05-05 22:52:06 +0200
commit2c8647350a771a8e28db03ec82cda20b58db7323 (patch)
treeedfec8adb73192f876be333660e73de1dd4cdadc /interface-definitions/include/constraint
parent11e25707683138d4a5a64a3717160edb84816182 (diff)
downloadvyos-1x-2c8647350a771a8e28db03ec82cda20b58db7323.tar.gz
vyos-1x-2c8647350a771a8e28db03ec82cda20b58db7323.zip
syslog: T2769: xml: provide common constraint for system usernames
Diffstat (limited to 'interface-definitions/include/constraint')
-rw-r--r--interface-definitions/include/constraint/login-username.xml.i3
1 files changed, 3 insertions, 0 deletions
diff --git a/interface-definitions/include/constraint/login-username.xml.i b/interface-definitions/include/constraint/login-username.xml.i
new file mode 100644
index 000000000..09a68b796
--- /dev/null
+++ b/interface-definitions/include/constraint/login-username.xml.i
@@ -0,0 +1,3 @@
+<!-- include start from constraint/login-username.xml.i -->
+<regex>[-_a-zA-Z0-9.]{1,100}</regex>
+<!-- include end -->