user authentication via /etc/passwd|/etc/shadow

"Martin v. Löwis" martin at v.loewis.de
Sun Apr 4 15:11:06 EDT 2004


Marco Herrn wrote:
> It seems that the pwd module can only access /etc/passwd. If the
> passwords are stored in /etc/shadow, it doesn't work. Is there a way to
> access shadow passwords, too?

No, support for shadow modules is currently not available. You might 
want to check out http://python.org/sf/579435 to see whether it helps
you. Comments in this SF patch submission on the usability of the
specific patch are appreciated.

Regards,
Martin




More information about the Python-list mailing list