OpenFactorioServerManager / factorio-server-manager

A tool to help manage Factorio multiplayer servers including mods and save games.
MIT License
604 stars 141 forks source link

Default login #394

Closed jelutz77 closed 3 months ago

jelutz77 commented 4 months ago

I hacked my way into the system after I installed, but for future reference, what is the default login?

Mattie112 commented 4 months ago

https://github.com/OpenFactorioServerManager/factorio-server-manager/blob/develop/docker/README.md#updating-credentials-adding-and-deleting-users

jelutz77 commented 4 months ago

So... without using docker there's no way to set up users, and the admin password will always be random, and will always need to be hacked? I installed by downloading and running the executable file.

Mattie112 commented 4 months ago

With or without Docker does not matter. The first time the server starts it will create an sqlite database (sqlite.db). When it does that it will generate an user and add it to the database. It will display the credentials in the console. As long as you don't delete that database file you can log in with the same credentials. But it would be easier to change the credentials :)

jelutz77 commented 3 months ago

Unfortunately I didn’t know to look for the login on the console so I didn’t see it. Anyway hopefully this post helps someone find it.