Lost admin user or pwd in Authentication enabled mongodb October 03, 2017 mongo - u __system - p "$(tr -d '\011-\015\040' < path-to-keyfile)" --authenticationDatabase local Read more