<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Are you running the daemon as root?  Sounds kinda like you are not.  No
user is supposed to be able to authenticate other users unless they are
root.  (su and other programs that require passwords are setuid root on
the program permissions).<br>
<br>
Joe<br>
<br>
Diez B. Roggisch wrote:<br>
<blockquote type="cite"
 cite="mid200404211507.00608.d.roggisch@ehotel.de">
  <pre wrap="">Sorry if this appears twice, had posted with wrong account previously.

Hi all, 

I'm trying to use pam for a custom app server written in python. There exists 
a pam wrapper that makes it possible to use pam from within my python app.

Now when running the app standalone, everything works fine. But when I 
daemonize it, I can't authenticate a single user. I also found that I can't 
authorize somebody else than the user the shell runs in. 

Searched google and the docs, but didn't find anything that helped me.

Any suggestions? I attached the python script and the domserver config. 
daemonize is a standard unix daemonization receipt.


Regards,

Diez B. Roggisch
  </pre>
  <pre wrap="">
<hr width="90%" size="4">
_______________________________________________
Pam-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Pam-list@redhat.com">Pam-list@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/pam-list">https://www.redhat.com/mailman/listinfo/pam-list</a>
  </pre>
</blockquote>
</body>
</html>