View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 08-30-2006, 02:32 AM   #1
Registered: Mar 2005
Posts: 60

Rep: Reputation: 15

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, 02:56 AM   #2
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, 04:21 AM   #3
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 04:25 AM.


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 07:37 AM
help! i've been hacked geo_serban Linux - Newbie 3 07-29-2004 08:24 AM
Have I been hacked? af_dave Linux - Security 3 07-14-2004 03:02 PM
Have I been HACKED?? fenice1976 Linux - Software 3 07-05-2004 09:00 PM
Have I been hacked? TBomb Linux - Software 34 06-15-2004 11:18 AM

All times are GMT -5. The time now is 07:15 PM.

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