web2py in trunk now support PAM authentication on Linux systems in two
ways

1) In admin.

   web2py.py -a '<pam_user:root>'

now admin will require your 'root' password. You can specify other
users.

2) In apps

    from gluon.contrib.login_methods.pam_auth import
pam_auth
    auth.settings.login_methods.append(pam_auth())

Your auth_user table must have also a 'username' field since 'email'
will not do.

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to