How to change MongoDB users password Jul 9,2020 Leave a Reply Linux mongodb Log on to your MongoDB instance, admin DB: mongo admin -u admin -p <current password> To change the users password, execute: db.changeUserPassword('admin','<new password>')