# # linotp-auth-pam-python - LinOTP PAM module for pam_python # Copyright (C) 2010 - 2017 KeyIdentity GmbH # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # # E-mail: linotp@keyidentity.com # Contact: www.linotp.org # Support: www.keyidentity.com # The module pam_linotp.py will install to /lib/security/pam_linotp.py You can use this module with the pam_python.so PAM module like this: auth [success=1 default=ignore] pam_python.so /lib/security/pam_linotp.py debug url=https://localhost/validate/check realm=default Known parameter are: debug: will print a lot of debug messages to auth log. Also the password!!! url: this is the URL where the linotp server is located realm: if the user should not be searched for in the default realm but in a special realm, you can provide a realm name