I have the following problem. On ubuntu.
>>> from gluon.contrib.pam import authenticate
>>> authenticate('username','password')
it works for every 'username' except for 'root'. This prevents me from
setting up the root password as default admin password.
It is not a web2py issue, nor a gluon.contrib.pam issue. It is a pam
configuration issue. It is not even a bug, it is done for security
reasons. Yet I want to check the 'root' password using the pam.py api
so that I can build a default web2py-ready-vps image.
Any idea how to make it work for 'root'?