Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Clarify documentation of centreon clapi authentication #5628

Merged
merged 1 commit into from
Sep 6, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions doc/en/api/clapi/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ All actions in Centreon CLAPI will require authentication, so your commands will
# cd /usr/share/centreon/bin
# ./centreon -u admin -p centreon [...]

Obviously, the **-u** option is for the username and the **-p** option is for the password. If your passwords
are encoded with SHA1 in database, use the **-s** option::
Obviously, the **-u** option is for the username and the **-p** option is for the password.
The password can be in clear or the encrypted in the database.

.. note::
If your passwords are encoded with SHA1 in database (MD5 by default), use the **-s** option::

# ./centreon -u admin -p centreon -s [...]
7 changes: 5 additions & 2 deletions doc/fr/api/clapi/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ All actions in Centreon CLAPI will require authentication, so your commands will
# cd /usr/share/centreon/bin
# ./centreon -u admin -p centreon [...]

Obviously, the **-u** option is for the username and the **-p** option is for the password. If your passwords
are encoded with SHA1 in database, use the **-s** option::
Obviously, the **-u** option is for the username and the **-p** option is for the password.
The password can be in clear or the encrypted in the database.

.. note::
If your passwords are encoded with SHA1 in database (MD5 by default), use the **-s** option::

# ./centreon -u admin -p centreon -s [...]