title: pam authentication in python without root privileges
body: <p>I'm looking for a way to let my python program handle authentication through pam.
  I'm using <a href="http://code.google.com/p/web2py/source/browse/gluon/contrib/pam.py" rel="nofollow noreferrer">http://code.google.com/p/web2py/source/browse/gluon/contrib/pam.py</a> for this, which works out great as long as my python program runs as root which is not ideal to my opinion.</p>
  
  <p>How can I make use of pam for username/password validation without requiring root privs?</p>