Nagios Core basic authentication

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
harishjadhav26
Posts: 1
Joined: Tue Oct 22, 2019 9:08 am

Nagios Core basic authentication

Post by harishjadhav26 »

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?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Core basic authentication

Post by scottwilkerson »

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:

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.

When 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.
https://httpd.apache.org/docs/current/p ... asswd.html
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked