- Posted In
- Red Hat Enterprise Linux
I'm not too sure if this topic has already been discussed, if it has, I apologize. If there is already a fix or restriction for the type of issue below, please let me know, but would be nice to have some sort of restriction in RHEL 7.
When logged in as root (I know best practices dictate not to log in as root but as a power user instead, but it will happen), when running the chmod command in the following way: "chmod -R 777 /" this will have drastic effects on the machine. Is there a possibility of preventing this particular command from running within the kernal? or at least an "ARE YOU DEFINETLY SURE YOU WISH TO DO THIS?!?!" question
If you google this, you'll find that I'm not the only one that's had this issue.
Thanks to all who take the time to read and respond :)