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/quickstart.rst | |
parent | bd5b12d5213673c3aa6acd3c532fa91bbe538ebf (diff) |
Create an option to set the username to use in Web or RPC Server mode #1381
Diffstat (limited to 'docs/quickstart.rst')
-rw-r--r-- | docs/quickstart.rst | 15 |
1 files changed, 9 insertions, 6 deletions
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 ^^^^^^^^^^^^^^ |