I want to know all the people who access my server, is there a log that shows when and how the people access my server?
--EDIT--
Sorry for not providing any more details awhile ago. My server is Ubuntu 10.04 LTS running in Linode. I heard numerous scary story of hackers trying to hack a server, so I want to know where are the logs that will show me who accessed my server by ssh, or anything that can put my server in danger.
I have installed the LAMP stack in my server. That's all I have ever installed.
