Big mistake made.
Big mistake made.
I mistakenly took control of the entire Ubuntu 14.04 server... There are many files here, like MySQL and other important stuff. I'm really worried because my system and gaming server depend on this MySQL. I tried using sudo chown -R MyUser:MyUser but now I'm stuck. I can't log in except via FTP, which I use to download files. In the meantime, I managed to run the server in a special mode so I could access it as root. I've done this before and ended up having to reinstall everything. I'm afraid I might lose my website, parts of my gaming server, and more. Can anyone help me undo this without reinstalling?
The only solution is to adjust the permissions manually, as I hope you succeed.
It seems like a major issue occurred with the system settings. The root account appears compromised, possibly due to incorrect ownership of files. If it doesn’t have proper access, the installation might have failed. It’s best to reset or reinstall from a clean source.
Typically done by installing the drive in another operating system and maintaining through that method. A friend once lost all his server passwords after a single incident, and we followed a similar approach—using a password file from a donor installation with identical user accounts. Understanding Linux file systems gives you significant control over recovery; success depends on how much you’re willing to risk before opting for a fresh setup.
This feature won't assist with chown changes; you can't revert the owner to its previous state after a new installation.
The issue can be resolved, though it may depend on whether a fresh installation is more practical. If damage makes reinstallation simpler, it might be worth addressing.