View Full Version : login and password
jenifer1402
06-04-2009, 11:22
h,
what are the default login and password for the interface by Zabbix
thanks
jenifer1402
06-04-2009, 12:49
By default login is "admin" and no password.
I can't login to the admin account for the first time.
I tried blank, and the zabbiz user password, etc.
Mysql shows that Admin is an alias for the Zabbix account, and it has a password (but since it is encrypted, I can't tell what it is - if if it is non-blank).
I am on Ubuntu Linux, and Debian had a bug report for this initial login problem last year, but allegedly it was fixed.
Any hints on how to proceed?
mysql> select userid, name, surname, passwd from users;
+--------+---------+--------------+-----------------------+
| userid | name | surname | passwd |
+--------+---------+--------------+-----------------------+
| 1 | Zabbix | Administrator | |
| 2 | Default | User | d41d8cd9... |
+--------+---------+--------------+-----------------------+
Kerrygeek
21-05-2009, 22:05
Mine matched the manual - admin/zabbix.
Kerry
PS Running 1.6.4 on CentOS 5.2
??"[as in] the manual" -
the documentation I have seen says:
"Log in with username: admin with No Password"
http://www.debianhelp.co.uk/zabbix.htm
In any case, none of these worked for me.
Again, there was a Debian bug report on this, but allegedly it was fixed.
(Debian Bug report logs - #503452 -unable to authenticate with the default login/password)
Kerrygeek
22-05-2009, 07:07
Humm, I thought I saw it in the pdf manual I got from the zabbix.com site but maybe I found it here in the forums. Either way, the default for mine was admin and zabbix. It may be different depending on where you got the install files, I used the gz file from the web site, not using apt-get or anything like that (which probably would have been much easier!)
I know almost zero about mysql, you can probably access those user accounts directly if you know enough about it and maybe clear out the password field so you can log in and reset it.
Good luck!
Kerry
Thanks for the note - yes, I used apt-get to install, and as noted as of a few months ago it was broken, maybe still is - I'll contact that Debian package provider.
I did try to manually reset the password in the zabbix.users table, but didn't get it to work. I was of course making assumptions about how it stores passwords, and how it uses them - but it seemed logical, although wrong! :-)
I tried setting the admin passwd to both PASSWORD(''), and just '', both seem to give the same result, and neither allows ne to login with admin/(nothing).
mysql> select userid, alias, name, passwd from users;
+--------+-------+---------+----------------------------------+
| userid | alias | name | passwd |
+--------+-------+---------+----------------------------------+
| 1 | Admin | Zabbix | |
| 2 | guest | Default | d41d8cd98f00b204e9800998ecf8427e |
+--------+-------+---------+----------------------------------+
2 rows in set (0.00 sec)
It is curious to me that the name in mysql is Admin, and the documentation (and web page) say to use "admin".
[I tried both.]
Kerrygeek
22-05-2009, 16:23
Ok, so that looks like yours really is admin with no password. Here's what I get when I set mine to admin/zabbix and run the same query you did:
1 | Admin | Zabbix | 5fce1b3e34b520afeffb37ce08c7cd66
I don't know if you can put that hash in through mysql and use admin/zabbix, I don't know how the authentication works and if it would be different on every installation but that's what mine looks like if I set it to admin/zabbix.
You might want to search the forums if you haven't already done it (I assume you have) because I think I've seen other people have this problem.
You guys were right, the pdf manual said admin with no password so I must have found the other combination in the forum, I had to look it up when I first set up my demo server several months ago.
Sorry I'm not much help, if using that hash doesn't get you in with admin/zabbix you'll have to rattle somebody's cage who knows zabbix better than I do - shouldn't be hard to do!
Kerry
nelsonab
22-05-2009, 19:26
The admin/zabbix combo is in the PDF.
@guthrie, it looks like you may have a Debian centric problem. The Debian devs always like to do things a little differently. ;-) You may have to put an enctrypted password into the passwords table.
I don't know which function is used but if the encrypt function is the right one you would do something similar to the following
update users set passwd=encrypt('My_New_Password') where alias='Admin';
halfasleep
29-05-2009, 14:44
Might be a bit late for the OP, but for anyone else finding this thread...
You can reset your Zabbix admin password from MySQL thus:
USE zabbix;
UPDATE users SET passwd=md5('newpassword') WHERE alias='Admin';
Preethivarma
10-06-2009, 09:11
Hi,
I too cannot login
pyush.singhal
10-09-2009, 15:43
For Zabbix 1.6.x user name - Admin
Password = zabbix