Skip to main content

Hi, I can’t use the centreon command in my centreon machine.
This is the command:

centreon -u admin -p '!example!' -o HC -a show
Unable to login, your password has expired.

However, I can enter with my user admin and my password ‘!example!’ in the centreon’s web page.

Also on the web Administracion>Authenticacion I had set the following configuration.

 

Thanks for your time.

I just resolved this issue.
Seems that on the web, the expiration policy for the excluded users doesn’t work for the same user in the clapi. So I changed the creation_date field (from the user admin) in the contact_password table from the centreon’s database.
 

update contact_password set creation_date = '1706609352' where contact_id = 1;

 


maybe similar to?

 

https://docs.centreon.com/docs/22.10/releases/centreon-os/#bug-fixes-8


Reply