[Patches] [ python-Patches-579435 ] Shadow Password Support Module
SourceForge.net
noreply at sourceforge.net
Sun Jan 23 10:28:13 CET 2005
Patches item #579435, was opened at 2002-07-10 05:13
Message generated for change (Settings changed) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=579435&group_id=5470
Category: Modules
Group: Python 2.5
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Lance Ellinghaus (ellinghaus)
Assigned to: A.M. Kuchling (akuchling)
Summary: Shadow Password Support Module
Initial Comment:
Attached is the spwd module. This module provides
support for Shadow Passwords on Solaris 2.8. This
compliments the nis and pwd modules. This is the only
way to gain access to the encrypted passwords when
using shadow passwords on Solaris.
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2005-01-23 10:28
Message:
Logged In: YES
user_id=21627
Thanks for the patch. Applied as
configure 1.468
configure.in 1.481
pyconfig.h.in 1.106
setup.py 1.212
Makefile.deps 1.123
lib.tex 1.237
libpwd.tex 1.15
libspwd.tex 1.1
NEWS 1.1231
Setup.dist 1.49
spwdmodule.c 1.1
----------------------------------------------------------------------
Comment By: Irmen de Jong (irmen)
Date: 2005-01-20 22:31
Message:
Logged In: YES
user_id=129426
I've attached my new version of the patch (files are marked
New Patch). I've updated the extension module itself to
'modern' standards (i.e. making it look as similar to
pwdmodule.c as possible, including the tuple-like result
object).
I'm not too sure how this module compiles on different
platforms, but I've added preprocessor checks for the
relevant system calls.
This module needs to be tested on different systems (I've
developed it on Linux).
There is no regression test yet.
----------------------------------------------------------------------
Comment By: Irmen de Jong (irmen)
Date: 2005-01-17 22:03
Message:
Logged In: YES
user_id=129426
Martin, yes I will give it a try.
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2005-01-17 07:02
Message:
Logged In: YES
user_id=21627
irmen, are you willing to complete this patch?
----------------------------------------------------------------------
Comment By: Irmen de Jong (irmen)
Date: 2005-01-16 16:48
Message:
Logged In: YES
user_id=129426
I would be happy if this module in one form or another makes
it into Python; I recently wanted to do user authentication
based on unix passwords but the regular passwd functions
cannot retrieve the password to check against).
As an aside, how does PAM relate to this? I fooled around a
bit with a python pam module, but simply didn't understand
it and couldn't get it to work properly.
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2004-08-22 18:38
Message:
Logged In: YES
user_id=21627
If we eventually want to support all the shadow passwort
APIs, we should make this a separate module - with that
approach, building spwd can might fail without causing a
failure to compile pwd.
Unfortunately, the patch is still incomplete: there is no
change to setup.py, and no documentation change. Are there
any volunteers interesting in completing it? If not, I'm
going to close it again. Anybody hunting for such a module
will still be able to find it.
----------------------------------------------------------------------
Comment By: A.M. Kuchling (akuchling)
Date: 2004-01-13 16:32
Message:
Logged In: YES
user_id=11375
As it happens, I was hunting for Python shadow password support
and came across this patch. The module isn't Solaris-specific, and
would be necessary on Linux, too.
However, the interface for getting shadow passwords doesn't seem
to be standardized; see http://www.unixpapa.com/incnote/passwd.
html for a list. (The Single Unix spec doesn't seem to mention
shadow passwords.)
One question is whether we want a new module for this, or if the
functions should be in the existing pwd module.
----------------------------------------------------------------------
Comment By: Neal Norwitz (nnorwitz)
Date: 2003-04-12 03:22
Message:
Logged In: YES
user_id=33168
There doesn't seem to be much interest in this patch. I
don't think it reaches a wide-enough audience, therefore,
I'm rejecting it. If there is broader support (many people
are interested in seeing shadow password support in the
core), we can add it later. I think it would be best to
provide this as a third-party module.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=579435&group_id=5470
More information about the Patches
mailing list