summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-05-07 21:44:04 +0700
committerGitHub <noreply@github.com>2019-05-07 21:44:04 +0700
commit972d4c50b3a3f7d070c3ae3a5d611e04de64b7d3 (patch)
treee40c776de48cbe0ecc1d2b154412ca43ed0728f9
parentf10213cca7bffb7e9b710445ef28845c1293bfca (diff)
parent2be4433eff374e8806bd9c4fc5cd5bd43bfd5016 (diff)
downloadvyos-documentation-972d4c50b3a3f7d070c3ae3a5d611e04de64b7d3.tar.gz
vyos-documentation-972d4c50b3a3f7d070c3ae3a5d611e04de64b7d3.zip
Merge pull request #49 from rebortg/add/loginbanner
add login banner
-rw-r--r--docs/system/system-users.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/system/system-users.rst b/docs/system/system-users.rst
index acffb974..a2e62024 100644
--- a/docs/system/system-users.rst
+++ b/docs/system/system-users.rst
@@ -108,3 +108,18 @@ networks when a link fails.
.. code-block:: sh
set system login radius-source-address 192.168.1.254
+
+Login Banner
+^^^^^^^^^^^^
+
+You are able to set post-login or pre-login messages with the following lines:
+
+.. code-block:: sh
+
+ set system login banner pre-login "UNAUTHORIZED USE OF THIS SYSTEM IS PROHIBITED\n"
+ set system login banner post-login "Welcome to VyOS"
+
+the **\\n** create a newline.
+
+
+