Ad Widget

Collapse

Guest login not working and always gets blocked

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mkun
    Junior Member
    • Jul 2022
    • 6

    #1

    Guest login not working and always gets blocked

    Hi folks.
    I have upgraded Zabbix server from 4.4 to 6.2 and everything seems to be working, except the guest login. The login doesn't work and the account gets blocked.

    I attached some screenshot of the users, login-page and the audit log.
    The screenshot shows the user blocked, but even after unblocking and trying to login, it doesn't work with the error message attached.

    The guest login worked before the upgrade and all other logins after the upgrade are working (I created guest1 with the same group and role).

    Any help would be appreciated!
    Thanks.
  • Answer selected by mkun at 20-07-2022, 08:21.
    vladimir_lv
    Senior Member
    • May 2022
    • 240

    To remove login for new user just run this query
    Code:
    update users set passwd='$2y$10$89otZrRNmde97rIyzclecuk6LwKAsHN0BcvoOKGjbT.BwMBfm7G06' where username='guest1';
    Also check if the default guest user has the same password.

    Comment

    • vladimir_lv
      Senior Member
      • May 2022
      • 240

      #2
      Does the new user guest1 can access to the frontend?

      Comment

      • mkun
        Junior Member
        • Jul 2022
        • 6

        #3
        Yes - I didn't mentioned it explicitly.
        The new user guest1 is working and can access the frontend.
        However it is considered as a regular user, so you need to login. The default guest user doesn't have a password and you can open the frontend without logging in. That's what we want (back).

        Comment

        • vladimir_lv
          Senior Member
          • May 2022
          • 240

          #4
          To remove login for new user just run this query
          Code:
          update users set passwd='$2y$10$89otZrRNmde97rIyzclecuk6LwKAsHN0BcvoOKGjbT.BwMBfm7G06' where username='guest1';
          Also check if the default guest user has the same password.

          Comment

          • mkun
            Junior Member
            • Jul 2022
            • 6

            #5
            Setting the password for default guest to the one mentioned in your code solved the problem. Thank you so much!
            The older Zabbix version must have used another password or it was somehow modified during the upgrade process.

            Comment

            Working...