I am using this module to authenticate using pam: http://code.google.com/p/web2py/source/browse/gluon/contrib/pam.py
I can call authenticate( username , password ) and it returns True/ False. It works for any username but root . My guess is that there is a security restriction in PAM that does not allow to check for the root password.
I need to be able to check the root password. Is there anything I can change in the pam.conf or somewhere else to remove this restriction?