I’m tasked with debugging an already running docker container running mongodb. Is there a way to know which user/passwd was used to create the dbs etc., I’ve access to their scripts but they’re using a number of environment variables but can’t the find the source of any. Any pointers would be great.
Ho @Dev_Engine ,
The first work around is keep in my mind, is to comment the security parameter in the configuration file, restart the instance, create a new admin user and decomment the security parameter. Then you can log with your new user admin and get the other users with the command db.getUsers(). Eventually you can modify their passwd.
I hope it is useful!
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.