Would it be possible to execute the search for a string in a log, indicating a specific user (the owner of the log) by parameters, for example?
My problem is that I am looking for a string in a log restricted to a certain user, to be able to do it I execute check_logfiles with sudo, but I would like to be able to avoid it.
I have seen the example of doing it by touching the ACLs, but they are machines in which we cannot do it.
Hi! thank in advance for your job!thats great!
Would it be possible to execute the search for a string in a log, indicating a specific user (the owner of the log) by parameters, for example?
My problem is that I am looking for a string in a log restricted to a certain user, to be able to do it I execute check_logfiles with sudo, but I would like to be able to avoid it.
I have seen the example of doing it by touching the ACLs, but they are machines in which we cannot do it.
thanks