summaryrefslogtreecommitdiff
path: root/modules/pam_lastlog
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_lastlog')
-rw-r--r--modules/pam_lastlog/.cvsignore2
-rw-r--r--modules/pam_lastlog/README57
-rw-r--r--modules/pam_lastlog/pam_lastlog.891
3 files changed, 2 insertions, 148 deletions
diff --git a/modules/pam_lastlog/.cvsignore b/modules/pam_lastlog/.cvsignore
index 9fb98574..9b0768f7 100644
--- a/modules/pam_lastlog/.cvsignore
+++ b/modules/pam_lastlog/.cvsignore
@@ -4,3 +4,5 @@
.libs
Makefile
Makefile.in
+README
+pam_lastlog.8
diff --git a/modules/pam_lastlog/README b/modules/pam_lastlog/README
deleted file mode 100644
index 9f6c5505..00000000
--- a/modules/pam_lastlog/README
+++ /dev/null
@@ -1,57 +0,0 @@
-pam_lastlog — PAM module to display date of last login
-
-━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
-
-DESCRIPTION
-
-pam_lastlog is a PAM module to display a line of information about the last
-login of the user. In addition, the module maintains the /var/log/lastlog file.
-
-Some applications may perform this function themselves. In such cases, this
-module is not necessary.
-
-OPTIONS
-
-debug
-
- Print debug information.
-
-silent
-
- Don't inform the user about any previous login, just upate the /var/log/
- lastlog file.
-
-never
-
- If the /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.
-
-nodate
-
- Don't display the date of the last login.
-
-noterm
-
- Don't display the terminal name on which the last login was attempted.
-
-nohost
-
- Don't indicate from which host the last login was attempted.
-
-nowtmp
-
- Don't update the wtmp entry.
-
-EXAMPLES
-
-Add the following line to /etc/pam.d/login to display the last login time of an
-user:
-
- session required pam_lastlog.so nowtmp
-
-
-AUTHOR
-
-pam_lastlog was written by Andrew G. Morgan <morgan@kernel.org>.
-
diff --git a/modules/pam_lastlog/pam_lastlog.8 b/modules/pam_lastlog/pam_lastlog.8
deleted file mode 100644
index 81b04470..00000000
--- a/modules/pam_lastlog/pam_lastlog.8
+++ /dev/null
@@ -1,91 +0,0 @@
-.\" Title: pam_lastlog
-.\" Author:
-.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/>
-.\" Date: 06/09/2006
-.\" Manual: Linux\-PAM Manual
-.\" Source: Linux\-PAM Manual
-.\"
-.TH "PAM_LASTLOG" "8" "06/09/2006" "Linux\-PAM Manual" "Linux\-PAM Manual"
-.\" disable hyphenation
-.nh
-.\" disable justification (adjust text to left margin only)
-.ad l
-.SH "NAME"
-pam_lastlog \- PAM module to display date of last login
-.SH "SYNOPSIS"
-.HP 15
-\fBpam_lastlog.so\fR [debug] [silent] [never] [nodate] [nohost] [noterm] [nowtmp]
-.SH "DESCRIPTION"
-.PP
-pam_lastlog is a PAM module to display a line of information about the last login of the user. In addition, the module maintains the
-\fI/var/log/lastlog\fR
-file.
-.PP
-Some applications may perform this function themselves. In such cases, this module is not necessary.
-.SH "OPTIONS"
-.TP 3n
-\fBdebug\fR
-Print debug information.
-.TP 3n
-\fBsilent\fR
-Don't inform the user about any previous login, just upate the
-\fI/var/log/lastlog\fR
-file.
-.TP 3n
-\fBnever\fR
-If the
-\fI/var/log/lastlog\fR
-file does not contain any old entries for the user, indicate that the user has never previously logged in with a welcome message.
-.TP 3n
-\fBnodate\fR
-Don't display the date of the last login.
-.TP 3n
-\fBnoterm\fR
-Don't display the terminal name on which the last login was attempted.
-.TP 3n
-\fBnohost\fR
-Don't indicate from which host the last login was attempted.
-.TP 3n
-\fBnowtmp\fR
-Don't update the wtmp entry.
-.SH "MODULE SERVICES PROVIDED"
-.PP
-Only the
-\fBsession\fR
-service is supported.
-.SH "RETURN VALUES"
-.PP
-.TP 3n
-PAM_SUCCESS
-Everything was successfull.
-.TP 3n
-PAM_SERVICE_ERR
-Internal service module error.
-.TP 3n
-PAM_USER_UNKNOWN
-User not known.
-.SH "EXAMPLES"
-.PP
-Add the following line to
-\fI/etc/pam.d/login\fR
-to display the last login time of an user:
-.sp
-.RS 3n
-.nf
- session required pam_lastlog.so nowtmp
-
-.fi
-.RE
-.SH "FILES"
-.TP 3n
-\fI/var/log/lastlog\fR
-Lastlog logging file
-.SH "SEE ALSO"
-.PP
-
-\fBpam.conf\fR(5),
-\fBpam.d\fR(8),
-\fBpam\fR(8)
-.SH "AUTHOR"
-.PP
-pam_lastlog was written by Andrew G. Morgan <morgan@kernel.org>.