Use last to check who had logined to your system.Or someone executed some setuid/setgid programms and got the root privilege.Use # find / \(-perm -02000 -o -perm -4000 \) -ls to find all the setuid/setgid programms in your system.Or you can use command history to see which command had been executed.