summaryrefslogtreecommitdiffstats
path: root/docs/quickstart.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/quickstart.rst')
-rw-r--r--docs/quickstart.rst50
1 files changed, 28 insertions, 22 deletions
diff --git a/docs/quickstart.rst b/docs/quickstart.rst
index 8e4be0b0..796d1707 100644
--- a/docs/quickstart.rst
+++ b/docs/quickstart.rst
@@ -77,28 +77,6 @@ available network interfaces) and TCP port is ``61209``.
In client/server mode, limits are set by the server side.
-You can set a password to access to the server using the ``--password``.
-By default, the username is ``glances`` but you can change it with
-``--username``.
-
-If you want, the SHA password will be stored in ``username.pwd`` file.
-Next time your run the server/client, password will not be asked. To set a
-specific username you can used the -u <username> option.
-
-It is also possible to set the password in the
-Glances configuration file:
-
-.. code-block:: ini
-
- [passwords]
- # Define the passwords list
- # Syntax: host=password
- # Where: host is the hostname
- # password is the clear password
- # Additionally (and optionally) a default password could be defined
- localhost=mylocalhostpassword
- default=mydefaultpassword
-
Central client
^^^^^^^^^^^^^^
@@ -193,3 +171,31 @@ The Glances web interface follows responsive web design principles.
Here's a screenshot from Chrome on Android:
.. image:: _static/screenshot-web2.png
+
+How to protect your server (or Web server) with a login/password ?
+------------------------------------------------------------------
+
+You can set a password to access to the server using the ``--password``.
+By default, the login is ``glances`` but you can change it with
+``--username``.
+
+If you want, the SHA password will be stored in ``<login>.pwd`` file (in
+the same folder where the Glances configuration file is stored, so
+~/.config/glances/ on GNU Linus operating system).
+
+Next time your run the server/client, password will not be asked. To set a
+specific username you can used the -u <username> option.
+
+It is also possible to set the default password in the Glances configuration
+file:
+
+.. code-block:: ini
+
+ [passwords]
+ # Define the passwords list
+ # Syntax: host=password
+ # Where: host is the hostname
+ # password is the clear password
+ # Additionally (and optionally) a default password could be defined
+ localhost=mylocalhostpassword
+ default=mydefaultpassword