Log commands allowed inside the sudoers file

Hi all!

I am using SLES9 but I assume that this is not very different in newer versions.
I know that every time someone uses SUDO this is logged inside /var/log/messages.
I don’t want any other user to be able to use SUDO but to be able to execute different commands which would require SUDO like e.g. "/sbin/yast2 users " for an administrative account.
I set all the required parameters inside the sudoer file and it works fine but unfortunatly now those events are not logged anymore.
Is it somehow possible to still log commands which can only be executed because of the sudoer file?

Thanks in advance!


It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

These forums are peer-to-peer, best effort, volunteer run and that if your issue
is urgent or not getting a response, you might try one of the following options:

Be sure to read the forum FAQ about what to expect in the way of responses:

If this is a reply to a duplicate posting or otherwise posted in error, please
ignore and accept our apologies and rest assured we will issue a stern reprimand
to our posting bot…

Good luck!

Your SUSE Forums Team