From b565288313038041fdf86bbb0c7e3fafa84d71b7 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Tue, 20 Apr 2010 18:32:19 -0400 Subject: - set up the makefile for preprocessing --- configure.ac | 2 +- src/Makefile.am | 2 +- src/pam_rps.8 | 35 ----------------------------------- src/pam_rps.8.in | 33 +++++++++++++++++++++++++++++++++ 4 files changed, 35 insertions(+), 37 deletions(-) delete mode 100644 src/pam_rps.8 create mode 100644 src/pam_rps.8.in diff --git a/configure.ac b/configure.ac index 797610f..aee52c8 100644 --- a/configure.ac +++ b/configure.ac @@ -8,4 +8,4 @@ AC_PROG_LIBTOOL AM_MAINTAINER_MODE AC_CHECK_HEADERS(security/pam_modules.h) AC_CONFIG_HEADER(src/config.h) -AC_OUTPUT(Makefile src/Makefile) +AC_OUTPUT(Makefile src/Makefile src/pam_rps.8) diff --git a/src/Makefile.am b/src/Makefile.am index f2784cb..a65ac53 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,4 +1,4 @@ man_MANS = pam_rps.8 securitydir = $(libdir)/security security_LTLIBRARIES = pam_rps.la -pam_rps_la_LDFLAGS = -module -avoid-version +pam_rps_la_LDFLAGS = -module -avoid-version -export-symbols-regex='pam_sm_.*' diff --git a/src/pam_rps.8 b/src/pam_rps.8 deleted file mode 100644 index a3e3c23..0000000 --- a/src/pam_rps.8 +++ /dev/null @@ -1,35 +0,0 @@ -.\" Copyright 2003 Red Hat, Inc. -.\" Written by Nalin Dahyabhai -.TH pam_rps 8 2003/6/30 "Red Hat Linux" "System Administrator's Manual" - -.SH NAME -pam_rps \- challenge-response authentication - -.SH SYNOPSIS -.B auth sufficient pam_rps.so - -.SH DESCRIPTION -pam_rps.so is designed to provide a true challenge-response authentication -mechanism for PAM-enabled applications. - -Without pam_rps, successful authentication can only occur for a user if the -user has previously established an authentication token for use with the -server. Using pam_rps removes this limitation. - -.SH ARGUMENTS -.IP debug -Enable module debugging. The module will log its progress to syslog. -.IP throw=\fInumber\fP -The challenge issued to the user is derived from a random number. This -argument allows the administrator to control which challenge will be presented -to the user. This argument is meant for use only when debugging. - -.SH NOTES -Never use this module. - -.SH BUGS -Let's hope not, but if you find any, please report them via the "Bug Track" -link at http://bugzilla.redhat.com/bugzilla/ - -.SH AUTHOR -Nalin Dahyabhai diff --git a/src/pam_rps.8.in b/src/pam_rps.8.in new file mode 100644 index 0000000..a6e1990 --- /dev/null +++ b/src/pam_rps.8.in @@ -0,0 +1,33 @@ +.TH pam_rps 8 2010/4/20 "Red Hat Linux" "System Administrator's Manual" + +.SH NAME +pam_rps \- challenge-response authentication + +.SH SYNOPSIS +.B auth sufficient pam_rps.so + +.SH DESCRIPTION +pam_rps.so is designed to provide an easy-to-test challenge-response +authentication mechanism for PAM-enabled applications. + +Without pam_rps, successful authentication can only occur for a user if the +user has previously established an authentication token for use with the +server. Using pam_rps removes this limitation. + +.SH ARGUMENTS +.IP debug +Enable module debugging. The module will log its progress to syslog. +.IP throw=\fInumber\fP +The challenge issued to the user is derived from a random number. This +argument allows the administrator to control which challenge will be presented +to the user. This argument is meant for use only when debugging. + +.SH NOTES +Never use this module. + +.SH BUGS +Let's hope not, but if you find any, please report them via the "Bug Track" +link at http://bugzilla.redhat.com/bugzilla/ + +.SH AUTHOR +Nalin Dahyabhai -- cgit