diff options
author | nicolargo <nicolas@nicolargo.com> | 2018-12-29 19:10:48 +0100 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2018-12-29 19:10:48 +0100 |
commit | 8cf364212ea782f3b54449820e0dcff31b2b7f2f (patch) | |
tree | 7dee19d15755cac93ff43dd9ecbb6157c81f99db /docs | |
parent | bd5b12d5213673c3aa6acd3c532fa91bbe538ebf (diff) |
Create an option to set the username to use in Web or RPC Server mode #1381
Diffstat (limited to 'docs')
-rw-r--r-- | docs/man/glances.1 | 2 | ||||
-rw-r--r-- | docs/quickstart.rst | 15 |
2 files changed, 10 insertions, 7 deletions
diff --git a/docs/man/glances.1 b/docs/man/glances.1 index d9192ada..016315f7 100644 --- a/docs/man/glances.1 +++ b/docs/man/glances.1 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH "GLANCES" "1" "Dec 27, 2018" "3.1.0_beta" "Glances" +.TH "GLANCES" "1" "Dec 29, 2018" "3.1.0_beta" "Glances" .SH NAME glances \- An eye on your system . diff --git a/docs/quickstart.rst b/docs/quickstart.rst index c7c212f8..00b71ef6 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -77,9 +77,15 @@ 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 ``--password``. By -default, the username is ``glances`` but you can change it with -``--username``. It is also possible to set the password in the +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 @@ -93,9 +99,6 @@ Glances configuration file: localhost=mylocalhostpassword default=mydefaultpassword -If you ask it, the SHA password will be stored in ``username.pwd`` file. -Next time your run the server/client, password will not be asked. - Central client ^^^^^^^^^^^^^^ |