Administrator username and password

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
su30mki117
Posts: 4
Joined: 11 Jan 2011, 11:25

Administrator username and password

Post by su30mki117 »

I am a complete noob when it comes to working with linux.
I just installed Mantis Version 1.2.4 on CentOS 5 and it is working properly.
According to the documentation, initially an admin lever account will be created with username-administrator and password-root. But when I tried to login using them, It says the username or password is invalid or the accound has been disabled.

One more thing I would like to mention is, the database was already existing on the system( the system had Mantis previously installed ) and I simply linked it to the application (I did not create a new database). So is it possible that Mantis is expecting me to type in the username and password of the previos Admin who was using Mantis before it was uninstalled?
atrol
Site Admin
Posts: 8582
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Administrator username and password

Post by atrol »

su30mki117 wrote:So is it possible that Mantis is expecting me to type in the username and password of the previos Admin who was using Mantis before it was uninstalled?
If you are using the same database as before: Yes
Please use Search before posting and read the Manual
su30mki117
Posts: 4
Joined: 11 Jan 2011, 11:25

Re: Administrator username and password

Post by su30mki117 »

Is there any way I can find out the password and username of the previous Admin?
It would be really helpful if I can find it out.
atrol
Site Admin
Posts: 8582
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Administrator username and password

Post by atrol »

Do you have access to the database?
If yes, you can find the username but not the password (it's stored encrypted)
But you can update the password in database with a password of another user where the password is known to you
Please use Search before posting and read the Manual
su30mki117
Posts: 4
Joined: 11 Jan 2011, 11:25

Re: Administrator username and password

Post by su30mki117 »

Yes I do have access to the database. Can you please mention where exactly in the database I can find the admin's username? And after that, what exactly is the procedure to update the password? Please bear with me, I am a total noob when it comes to linux and Mantis. Any help is appreciated.

Thank You
atrol
Site Admin
Posts: 8582
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Administrator username and password

Post by atrol »

Search in table mantis_user_table for a user where access_level = 90 (maybe the id of this row will be 1 and the username will be administrator if this is an unchanged default installation)
Change the column password in this row to the encrypted password of another user where the password is known to you.
Please use Search before posting and read the Manual
su30mki117
Posts: 4
Joined: 11 Jan 2011, 11:25

Re: Administrator username and password

Post by su30mki117 »

Thanks a lot. Completed the procedure successfully. :D
Post Reply