I have production environment where my mongoDB is up and running and DBAs are asking us to change the password which we use for authentication. One way to do this is run the add
MongoDB > 3.X
db.updateUser("root", {pwd: "NewRootAdmin" })
Reference: https://docs.mongodb.com/manual/reference/method/db.updateUser/