I have created nagiosadmin user and password should be nagiosadmin.
when i logged in through nagiosadmin and password is nagiosadmin@123 then login is happening instead of show incorrect password.
Why login happen through incorrect password?
Nagios Core basic authentication
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios Core basic authentication
What command did you run to set the password for the user in the htpasswd file?
If you used the -d flag you would get this:
If you used the -d flag you would get this:
Code: Select all
-d
Use crypt() encryption for passwords. This is not supported by the httpd server on Windows and Netware. This algorithm limits the password length to 8 characters. This algorithm is insecure by today's standards. It used to be the default algorithm until version 2.2.17.https://httpd.apache.org/docs/current/p ... asswd.htmlWhen using the crypt() algorithm, note that 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.