IgorTimofeev / MineOS

Home of MineOS and it's software for OpenComputers mod
Other
733 stars 191 forks source link

I have a problem #615

Closed Leonardo5681 closed 3 weeks ago

Leonardo5681 commented 3 weeks ago

Hi, I found an old world of mine from 2021 where I used opencomputers and mineos. Since I didn't remember what was inside the PCs, I decide to turn them on, but they have a password that I don't remember.. Is there a way to find out the password or a file saved somewhere containing the password? I hope you can help me. Thank you and good day

CoolCat467 commented 3 weeks ago

Not possible to retrieve password, MineOS is actually pretty awesome and hashes passwords with SHA-256. Totally possible to read hard drive data though, nothing is encrypted because that would add a lot of overhead to reading files, so you could probably install MineOS new on a separate drive and then copy all the files except the user config one over from the old disk to the new one.

Smok1e commented 3 weeks ago

To reset your password, firstly, find your opencomputers' hdd id by hovering mouse on it: image

Then, go to file in your save directory/opencomputers/<hdd id>/Users/<username>/Settings.cfg and find line starting with "securityPassword=" and change corresponding value to "9f2918462af0d41319d23a02394bbb658be53ffdb0f20764714ab44adb47a32c": image

Now you will be able to log in to MineOS by entering the password test.

Smok1e commented 3 weeks ago

BTW, you can just remove this line in Settings.cfg to disable password at all