Created
December 6, 2015 14:45
-
-
Save kleinron/b7cfb8e96333b2bb3311 to your computer and use it in GitHub Desktop.
Display CouchBase credentials
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo /opt/couchbase/bin/erl -noinput -eval 'case file:read_file("/opt/couchbase/var/lib/couchbase/config/config.dat") of {ok, B} -> io:format("~p~n", [binary_to_term(B)]) end.' -run init | grep cred |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment