We had an Administrator who didn't know he could add the Guest user to the "Disabled" group so he went into the MySQL database and deleted the user with the "guest" alias from the DB directly. We're using Zabbix 5.0.5. We now wish to use the Guest user for Guest access, is there any way to recreate this user? When we create the user and set the alias as "guest" it seems to be know as the guest user based on the "ZBX_GUEST_USER" global in the codebase, but login as Guest user fails.
Should the "passwd" field just be empty? Or a hash of an empty string? Should the "type" be 1 to correspond with the standard "USER_TYPE_ZABBIX_USER" global or one of the other two options? It'd be great if someone could check their "users" database to let me know what their Guest user looks like. Sigh, I'll make sure this doesn't happen again... direct database modifications is a no no.
Thanks for any insight anybody can provide.
Tyler
Should the "passwd" field just be empty? Or a hash of an empty string? Should the "type" be 1 to correspond with the standard "USER_TYPE_ZABBIX_USER" global or one of the other two options? It'd be great if someone could check their "users" database to let me know what their Guest user looks like. Sigh, I'll make sure this doesn't happen again... direct database modifications is a no no.
Thanks for any insight anybody can provide.
Tyler
Comment