Answer the question
In order to leave comments, you need to log in
Someone is changing file permissions, how to figure out who?
Hello.
An anomaly has appeared on a number of servers - something changes the permissions on files - sets -rwxr-xr-x for files, drwxr-xr-x for directories, tell me how to figure out who is doing this?
Only I have root access, and it doesn’t matter at the moment, it’s clear that they somehow broke it. But how to calculate who changes the rights?
PS
What is strange could be to enter rm -rf, but no, they only change the rights ... The truth is that it doesn’t make it easier, because when the rights are changed to / or to ssh keys or to / dev / null or / tmp, etc. significant problems arise.
Answer the question
In order to leave comments, you need to log in
Make chmod an alias to your script that does an action but audits the time and terminal from which the action came.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question