I've been working all night with no sleep restoring a server that was hacked. however, all of my file owners are all messed up.
Could someone write me a quick script (if possible) that would search through the /home directory and chown -R all of the files for each users root home directory to that users account?
Could someone write me a quick script (if possible) that would search through the /home directory and chown -R all of the files for each users root home directory to that users account?