Mailinglist Archive: opensuse-security (757 mails)

< Previous Next >
Re: [suse-security] last login
  • From: "Stefan Suurmeijer (prive)" <stefan@xxxxxxxxxxxx>
  • Date: Fri, 18 Jan 2002 12:19:24 +0100
  • Message-id: <3C4804BC.6000907@xxxxxxxxxxxx>
Both work:

last gives information on the last users to use the system (listing of login dates, users etc)
lastb (if activated) gives failed login attempts
lastlog simply gives a listing of _every_ user with their last login time, which I believe is what the original question asked for.



Peter Wiersig wrote:

Am Freitag, 18. Januar 2002 07:20 schrieb Edward Miles:

From: Alex Levit [mailto:alex@xxxxxxxxxxx]

Can somebody enlighten me on the following subject.
When a user logs in, system displays an ip or hostname from the last login.
Where is this information stored?

/var/log/lastlog


Hm, I disbelieve:
man last
/FILES (/ is the search command for less)

: /var/log/wtmp
: /var/log/btmp

This sounds correct.

Peter


--
================================================================
Stefan Suurmeijer University of Groningen, Rekencentrum
P.O. Box 800, NL-9700 AV Groningen, The Netherlands
tel: (+31) 50 363 8258 - fax: (+31) 50 363 3406
E-mail: S.M.Suurmeijer@xxxxxxxxx
E-mail: stefan@xxxxxxxxxxxx (private)
================================================================

PGP fingerprint: 183A F476 6E97 611C 061B 4425 5698 917B 2145 AA25

Quies custodiet ipsos custodes? (Who'll watch the watchmen?)

#define question ((bb) || (!bb)) - William Shakespeare




< Previous Next >
Follow Ups