Find the answer to your Linux question:
Results 1 to 6 of 6
Hi All, I'm just tryin to check all the logins to my SUSE machine which is shared on a LAN/Internet. whenever I login to the konsole, i see that last ...
  1. #1
    Just Joined!
    Join Date
    Aug 2006
    Location
    India
    Posts
    19

    Whr does the Last Login Details get dumped ?

    Hi All,

    I'm just tryin to check all the logins to my SUSE machine which is shared on a LAN/Internet. whenever I login to the konsole, i see that last login details from IP's which i dont knw.

    Last login: Wed Aug 15 20:13:25 2007 from 0232-235058.xxx.ccc

    Is there any log dump for getting the server access details ??

    Any help would be greatly appreciated !

    LuCkY !

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    Try running the commands last and lastb.

  3. #3
    Just Joined!
    Join Date
    Aug 2006
    Location
    India
    Posts
    19

    thank you ! .. i got the info..

    Quote Originally Posted by daark.child View Post
    Try running the commands last and lastb.
    but is tehre any log file from which this info is read ???

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Check /var/log folder. you will find relevant info in auth.log and user.log.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    Last looks in /var/log/wtmp and lastb in /var/log/btmp. Last shows you who logged in over a certain period and lastb shows a list of bad login attempts. If you aren't sure about things e.g. location of log files etc, always read the manual of the commands you were given because they contain that info.

  6. #6
    Just Joined!
    Join Date
    Aug 2006
    Location
    India
    Posts
    19

    Thank you guys !

    That was wht I was lookin for..
    Well thank you guys for helpin' me out !!

    Warm Regards,
    LuCkY !

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...