Added an advice in 'htpasswd.pl' and 'monitorix.conf(5)' to not use the character colon ':' as part of the name or password since this character is used as field separator.

This commit is contained in:
Jordi Sanfeliu 2015-01-07 17:21:56 +01:00
parent 320c8485b3
commit 1b8b8d4697
3 changed files with 8 additions and 0 deletions

View File

@ -11,6 +11,9 @@
the output of the 'command' parameter in the 'ps' command is used to match the output of the 'command' parameter in the 'ps' command is used to match
the process names. the process names.
(suggested by Julien Flatrès, julien_flatres AT yahoo.fr) (suggested by Julien Flatrès, julien_flatres AT yahoo.fr)
- Added an advice in 'htpasswd.pl' and 'monitorix.conf(5)' to not use the
character colon ':' as part of the name or password since this character is
used as field separator.
- Fixed some bugs in the new Makefile. [#63] - Fixed some bugs in the new Makefile. [#63]
- Fixed more messages of use of uninitialized values at fs.pm in lines 765 and - Fixed more messages of use of uninitialized values at fs.pm in lines 765 and
766. This mainly happens in OpenVZ VPS where '/proc/diskstats' file does not 766. This mainly happens in OpenVZ VPS where '/proc/diskstats' file does not

View File

@ -8,6 +8,9 @@
# If the argument is an encrypted password it will ask the password and will # If the argument is an encrypted password it will ask the password and will
# verify if it's valid. # verify if it's valid.
# #
# WARNING: don't use the character colon ':' as part of your name or password
# since this character is used as field separator.
#
use strict; use strict;
use warnings; use warnings;

View File

@ -317,6 +317,8 @@ peter:HF1r7qRL4Kg6E
.P .P
Since the script uses the crypt() algorithm, only the first 8 characters of the password are used to form the password. If the supplied password is longer, the extra characters will be silently discarded. Since the script uses the crypt() algorithm, only the first 8 characters of the password are used to form the password. If the supplied password is longer, the extra characters will be silently discarded.
.P .P
WARNING: don't use the character colon ':' as part of your name or password since this character is used as field separator.
.P
Default value: \fI/var/lib/monitorix/htpasswd\fP Default value: \fI/var/lib/monitorix/htpasswd\fP
.RE .RE
.SS Log files pathnames .SS Log files pathnames