Hi Guys
At the moment I am programming a script which reads the /var/logs/system.log and searches for timemachine-backup messages.
For this I need a normal user to be able to read this file but unfortunately it is not readable for a non-admin.
A possibility would be to use "syslog" but it displays only messages which are readable by non-admin users.
So, long story short: How can a script, run under a non-admin user, access the whole system log without sudo or stuff like this?
Best regards
At the moment I am programming a script which reads the /var/logs/system.log and searches for timemachine-backup messages.
For this I need a normal user to be able to read this file but unfortunately it is not readable for a non-admin.
A possibility would be to use "syslog" but it displays only messages which are readable by non-admin users.
So, long story short: How can a script, run under a non-admin user, access the whole system log without sudo or stuff like this?
Best regards