Skip to content

Instantly share code, notes, and snippets.

@inkredabull
Last active February 16, 2018 23:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inkredabull/b5b14ac2f96ddc817ffcd26cbaa33378 to your computer and use it in GitHub Desktop.
Save inkredabull/b5b14ac2f96ddc817ffcd26cbaa33378 to your computer and use it in GitHub Desktop.
ejabberd : Mnesia user lookup

Worth capturing in a gist:

  • if you have user named 'USER' registered for 'localhost' then the way to find that user's password is with the following syntax:

$ ejabberdctl debug

> mnesia:dirty_read(passwd,{<<"USER">>,<<"localhost">>}).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment