PAM Authentication tab | |||||||||||||||||||||||||||||||||||||||||||||
Related Topics
|
AuthPAM | |
AuthPAM provides PAM authentication to Tikiwiki just as Pear Auth does with LDAP.
Admin DocumentationAuthPAMOld configuration is very simple once you've met all the requirements (only a few). Once met you just have to go to the Login section of TikiAdmin.
Requirements for AuthPAMAuthPAMOld has a small requirement that must be met in order to work; you need pam_auth php module. I've seen it's on some Linux distributions but not on all.
After compiling and installing the module as stated in its documentation you have to create a PAM service for Tiki (normally at /etc/pam.d). Then just jump onto Tikiwiki and setup PAM there. Permissions!Take care of file permissions; remember that php runs with apache privileges, normally a normal user account like www-data or so. If you plan to use PAM against your system's users and your system uses shadowed password you should remember that /etc/shadow is only readable by root, so php won't be able to read it
Security IssuesWith a default PAM service any account will be granted (try user: nobody ) so here are a few things to take care about that: It is recommended that you make use of pam_require module to require a specific group to be in for the user. Also you can take a look at PAM Modules at kernel.org to refine a bit more your pam service for tiki. Also take note that pam only receives a user/pass pair and checks it; it relays on your web server settings to handle a secure transaction of that pair from the browser to the server. SSL is recommended.
|