| 1 |
//po4a: entry man manual |
| 2 |
= lastlog2(3) |
| 3 |
:doctype: manpage |
| 4 |
:man manual: Programmer's Manual |
| 5 |
:man source: util-linux {release-version} |
| 6 |
:page-layout: base |
| 7 |
:lib: liblastlog2 |
| 8 |
:firstversion: 2.40 |
| 9 |
|
| 10 |
== NAME |
| 11 |
|
| 12 |
lastlog2 - Y2038 safe version of lastlog library. |
| 13 |
|
| 14 |
== SYNOPSIS |
| 15 |
|
| 16 |
*#include <lastlog2.h>* |
| 17 |
|
| 18 |
== DESCRIPTION |
| 19 |
|
| 20 |
*lastlog2* reports the last login of a given user or of all users who did ever login on a system. |
| 21 |
|
| 22 |
It's using sqlite3 as database backend. Data is only collected via a PAM module, so that all |
| 23 |
tools can make use of it, without modifying existing packages. |
| 24 |
The output is as compatible as possible with the old lastlog implementation. |
| 25 |
By default the database will be written as _/var/lib/lastlog/lastlog2.db_. |
| 26 |
The size of the database depends on the amount of users, not how big the biggest UID is. |
| 27 |
|
| 28 |
== AUTHORS |
| 29 |
|
| 30 |
mailto:[email protected][Thorsten Kukuk] |
| 31 |
|
| 32 |
== SEE ALSO |
| 33 |
|
| 34 |
*lastlog2*(3), |
| 35 |
*ll2_new_context*(3), |
| 36 |
*ll2_unref_context*(3), |
| 37 |
*ll2_write_entry*(3), |
| 38 |
*ll2_read_all*(3), |
| 39 |
*ll2_read_entry*(3), |
| 40 |
*ll2_update_login_time*(3), |
| 41 |
*ll2_remove_entry*(3), |
| 42 |
*ll2_rename_user*(3), |
| 43 |
*ll2_import_lastlog*(3) |
| 44 |
|
| 45 |
include::man-common/bugreports.adoc[] |
| 46 |
|
| 47 |
include::man-common/footer-lib.adoc[] |
| 48 |
|
| 49 |
ifdef::translation[] |
| 50 |
include::man-common/translation.adoc[] |
| 51 |
endif::[] |