So I've been working on a full blown linux based control panel that will basically be for hosting and general home based server management.
I noticed I made a mistake where when I created the root user, I set the home directory to / even though the real home directory is /root. My system will delete a home directory when the user is deleted. If I had happened to delete root as part of a test or w/e it would have deleted the entire server including any mapped directories and their contents.
This reminded me to double check my backups, and I noticed that the last backup was in December! I just checked and I must of moved the script on my main server at one point and forgot to change it in the crontab.
Fixed it now, and forced the job to run. Fewww, this could of been real ugly!
I noticed I made a mistake where when I created the root user, I set the home directory to / even though the real home directory is /root. My system will delete a home directory when the user is deleted. If I had happened to delete root as part of a test or w/e it would have deleted the entire server including any mapped directories and their contents.
This reminded me to double check my backups, and I noticed that the last backup was in December! I just checked and I must of moved the script on my main server at one point and forgot to change it in the crontab.
Fixed it now, and forced the job to run. Fewww, this could of been real ugly!
