reset admin password - moloch_viewer

1,114 views
Skip to first unread message

itpn...@gmail.com

unread,
Jul 22, 2014, 5:54:31 AM7/22/14
to moloc...@googlegroups.com
Hello

I forgot my password for the admin user in _moloch (viewer).

1) How do I change the administrator password from the console?
2) I have received permissions for admin Users tab, how to restore?

pn

Andy

unread,
Jul 22, 2014, 9:34:57 AM7/22/14
to moloc...@googlegroups.com

itpn...@gmail.com

unread,
Jul 23, 2014, 2:27:47 AM7/23/14
to moloc...@googlegroups.com
thanks for the reply
 
after the application of the guidelines:

root@sonda01:/data/moloch/viewer# /data/moloch/bin/node addUser.js -c ../etc/config.ini pawel "Admin" pawel -         -admin
 
Elastic search error { message: 'UnavailableShardsException[[users_v2][0] [1] shardIt, [0] active : Timeout waiting for [1m], request: index {[users_v2][user][pawel], source[{"userId":"pawel","userName":"Admin","passStore":"deaf9196ee78798d8ddc05051862df264a4cb73c13ebec6514082602d4c473a2d595b0b627e0dc547ee7dd0d2c08655b","enabled":true,"webEnabled":true,"headerAuthEnabled":false,"emailSearch":false,"createEnabled":true,"removeEnabled         ":false}]}]' }

Andy

unread,
Jul 23, 2014, 8:26:39 AM7/23/14
to moloc...@googlegroups.com
Looks like there is something wrong with your ES cluster.  Does going to localhost:9200/_plugin/head show green?

itpn...@gmail.com

unread,
Jul 23, 2014, 9:35:25 AM7/23/14
to moloc...@googlegroups.com
plugin is yellow, restart ES helped. 
password changed, the script ran successfully. 

Thanks Andy for your reply,
Reply all
Reply to author
Forward
0 new messages