pam_sotp 0.3.1 manual

Pedro Diaz


Table of Contents
1. Introduction
1.1. Usage scenario
2. Installing pam_sotp
3. Configuration
3.1. Creating a new authentication database
3.2. Configuring the pam_sotp module
3.2.1. Example
3.3. Other issues
3.3.1. Password lifespan
4. Disclaimer, contact information, etc...

1. Introduction

pam_sotp provides simple one time password support to PAM, the pluggable authentication modules. This module only provides PAM auth services

1.1. Usage scenario

The user is provided with a list of one time passwords. each time the user wants to authenticate against an sotp-enabled service he or she will be asked to enter an specific password of the list. in case of successful authentication that password will become invalid or valid only for a configured period of time (depending on how the service was configured) and the service will ask for a different password next time.

This list of one time passwords (OTP list) is typically stored in print form and stored in the user's wallet or in electronic form in the user's PDA or cell phone.

Optionally passwords can be configured with a 'prefix', which is another password which the user has to memorize and which has to be written as a prefix of the requested one time password. The prefix acts as a security measure in case that the OTP list is lost or stolen from the user.

The system administrator can configure a service in such a way that entered passwords are valid for a configured period of time. This feature, which we will call password lifespan, is useful when the application requesting the authentication will have to authenticate several more times in a period of time (for example, a webmail application authenticating against the IMAP server).