LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (http://www.linuxquestions.org/questions/linux-security-4/)
-   -   hacked? (http://www.linuxquestions.org/questions/linux-security-4/hacked-478670/)

WRSpithead 08-30-2006 02:32 AM

hacked?
 
my friend keeps telling me he got my password and logged into root but he won't tell me what the password is so i don't believe him. how do i check my logs to see who's logged in recently?

zhangmaike 08-30-2006 02:56 AM

Use the last command. It lists recent logins.

You could also check /var/log/secure to see who's been su'ing to who and when.

It sounds like your friend is pulling your leg. If you're worried, change your root password.

kenji 08-30-2006 04:21 AM

try the last and lastb command| 3

man last


All times are GMT -5. The time now is 10:20 PM.