sudo command allows users to do tasks on a Linux system as another user.
Sudo is more secure then su command.
Log files : /var/log/secure (Red Hat/Fedora / CentOS Linux)
/var/log/auth.log (Ubuntu / Debian Linux).
So we can get the details using above log files that which user has perform which task or command using sudo or as privilage user.