LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 08-30-2006, 01:32 AM   #1
WRSpithead
Member
 
Registered: Mar 2005
Posts: 60

Rep: Reputation: 15
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?
 
Old 08-30-2006, 01:56 AM   #2
zhangmaike
Member
 
Registered: Oct 2004
Distribution: Slackware
Posts: 376

Rep: Reputation: 31
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.
 
Old 08-30-2006, 03:21 AM   #3
kenji
Member
 
Registered: Sep 2004
Location: Philippines
Distribution: Red hat 9, Ubuntu 5.04, Free BSD 5.3, Knoppix 5.04, Ubuntu 8.04, [Slackware 12~13.1]
Posts: 141

Rep: Reputation: 16
try the last and lastb command| 3

man last

Last edited by kenji; 08-30-2006 at 03:25 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I got hacked; what do I do? BogusTrumper Linux - Security 6 06-21-2006 06:37 AM
help! i've been hacked geo_serban Linux - Newbie 3 07-29-2004 07:24 AM
Have I been hacked? af_dave Linux - Security 3 07-14-2004 02:02 PM
Have I been HACKED?? fenice1976 Linux - Software 3 07-05-2004 08:00 PM
Have I been hacked? TBomb Linux - Software 34 06-15-2004 10:18 AM


All times are GMT -5. The time now is 03:53 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration