Score:0

iTop reset admin password

tn flag

Imagine you load an external iTop save to your test server, but then you're locked out because your admin password don't work anymore.
(This story is fiction. Any resemblance to actual event is purely coincidental.)

How to reset admin password on iTop (given server access) ?

Score:0
tn flag

With access to the database

mysql -e 'update itop.priv_user_local set password_hash="$2y$10$vRSLaXl12M7Y70Ucf6KbLuzb.tZbeypqKyZHXWkjgeJCrPYfFwv9a" where id = 1;'

will set the password to admin (for the account with id=1, should be admin).
Keep that in your shell history, because MySQL history ignores any command with password in it.

With access to the itop install files

With the iTop toolkit installed.
There is a reset_admin_account.php that you can download here and put in itop/toolkit folder, the password admin is too simple and not accepted, you must edit it to have something more secure, then just go to the page.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.