pam_wtmpdb
PAM module to record login and logout times of users
- Provided by: libpam-wtmpdb (Version: 0.75.0-5ubuntu1)
- Source: wtmpdb
- Report a bug
PAM module to record login and logout times of users
pam_wtmpdb.so [debug] [silent] [skip_if=<services>] [database=<file>]
pam_wtmpdb is a PAM module to record the login and logout information of the user. The module uses /var/log/wtmp.db as database file to store all information.
Compared to some wtmp(5) implementations this PAM module is Y2038 safe and uses sqlite3 to store the information.
debug
silent
skip_if=<services>
database=<file>
The session module type is provided for updating the wtmp database with the login and logout information about an user.
PAM_SUCCESS
PAM_SERVICE_ERR
PAM_USER_UNKNOWN
PAM_IGNORE
Add the following line to e.g. /etc/pam.d/login to display the last login time of a user:
session required pam_wtmpdb.so
/var/log/wtmp.db
/var/lib/wtmpdb/wtmp.db
pam_wtmpdb was written by Thorsten Kukuk <kukuk@suse.com>.