how to track down error in log

Does anyone know how I can track down what is causing the following error to be reported in /var/log/messages?

2013-04-16T15:02:33.616660-04:00 linux-aa3c dbus[722]: [system] Reloaded configuration
2013-04-16T15:02:34.873708-04:00 linux-aa3c sudo:      lee : a password is required ; TTY=unknown ; PWD=/home/lee ; USER=root ; COMMAND=/usr/bin/tail -2000 /var/log/messages
2013-04-16T15:03:34.661344-04:00 linux-aa3c sudo: last message repeated 11 times

I have a suspicion it may be the conky monitor as it has an error in its display that reads

/var/log/messages not readable

I am using user PTA conkyconf to set up this running conky.

I am not sure though so I am asking here for some advise.

I am currently running openSUSE 12.2 with KDE 4.10 latest as per Apper updates.

Seems likely. Find where “conky” is making the call to use sudo, or maybe
as an alternative setup the /etc/sudoers file to allow the ‘lee’ (or
whatever) user run ‘tail -2000 /var/log/messages’ as ‘root’ without a
password. The line in /etc/sudoers would look something like this:

Code:

lee ALL=NOPASSWD: tail -2000 /var/log/messages

Good luck.

Great Idea :slight_smile: thanks for the help.