From ea488580c42e8918445a945484de3c8a5addc761 Mon Sep 17 00:00:00 2001 From: "Andrew G. Morgan" Date: Tue, 20 Jun 2000 22:10:38 +0000 Subject: Initial revision --- doc/modules/pam_lastlog.sgml | 119 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 doc/modules/pam_lastlog.sgml (limited to 'doc/modules/pam_lastlog.sgml') diff --git a/doc/modules/pam_lastlog.sgml b/doc/modules/pam_lastlog.sgml new file mode 100644 index 00000000..2ade5baa --- /dev/null +++ b/doc/modules/pam_lastlog.sgml @@ -0,0 +1,119 @@ + + +The last login module + +Synopsis + +

+ + +Module Name: +Author: +Andrew G. Morgan <morgan@parc.power.net> + +Maintainer: +Author + +Management groups provided: +auth + +Cryptographically sensitive: + +Security rating: + +Clean code base: + +System dependencies: +uses information contained in the /var/log/lastlog file. + +Network aware: + + + +Overview of module + +

+This session module maintains the /var/log/lastlog file. Adding +an open entry when called via the pam_open_seesion() function +and completing it when pam_close_session() is called. This +module can also display a line of information about the last login of +the user. If an application already performs these tasks, it is not +necessary to use this module. + +Authentication component + +

+ + +Recognized arguments: +Description: + +

+This module can be used to provide a ``Last login on ...'' +message. when the user logs into the system from what ever application +uses the PAM libraries. In addition, the module maintains the +/var/log/lastlog file. + +

+The behavior of this module can be modified with one of the following +flags: + +

+ +/var/log/lastlog file. + +/var/log/lastlog file does not contain any old entries +for the user, indicate that the user has never previously logged in +with a ``welcome..." message. + + + +Examples/suggested usage: + +This module can be used to indicate that the user has new mail when +they /etc/pam.conf file: + + +# +# do we have any mail? +# +login session optional pam_lastlog.so + + + +

+Note, some applications may perform this function themselves. In such +cases, this module is not necessary. + + + + -- cgit v1.2.3