summaryrefslogtreecommitdiff
path: root/data/templates/login
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/login')
-rw-r--r--data/templates/login/limits.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/data/templates/login/limits.j2 b/data/templates/login/limits.j2
new file mode 100644
index 000000000..5e2c11f35
--- /dev/null
+++ b/data/templates/login/limits.j2
@@ -0,0 +1,5 @@
+# Generated by /usr/libexec/vyos/conf_mode/system-login.py
+
+{% if max_login_session is vyos_defined %}
+* - maxsyslogins {{ max_login_session }}
+{% endif %}