summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-04-04 19:22:15 +0200
committerGitHub <noreply@github.com>2023-04-04 19:22:15 +0200
commite520e08410131a1a65723fd32aeb1d278efa42c4 (patch)
tree45b36bc836b14eef4b365700fc494d2514f7cf90 /data/templates
parent94b65bb3936b607a6bc85fe23176ff855c722519 (diff)
parenta1ffb5e73760e0caaca2deb8fc5a18840f968f1c (diff)
downloadvyos-1x-e520e08410131a1a65723fd32aeb1d278efa42c4.tar.gz
vyos-1x-e520e08410131a1a65723fd32aeb1d278efa42c4.zip
Merge pull request #1939 from sever-sever/T5145
T5145: Add maximum number of all logins on system
Diffstat (limited to 'data/templates')
-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 %}