[Python-Dev] spwd and AIX
christian at python.org
Wed Aug 1 11:52:43 EDT 2018
On 2018-08-01 13:58, Michael wrote:
> a) I am looking at getting spwd integrated from AIX
> b) only the parameter sp_pwdp is my concern - as AIX really does not
> want to reveal the encrypted password. Rather, AIX will say '!' (meaning
> there is, or should be a shadow password, or '*' - no user password).
> Would this horribly break things if only '!' was returned, rather than
> the shadow password?
> It does not look terribly hard - but how do you deal with defaults such
> as 0 or -1 for the numeric values?
Please note that I'm planning to deprecate and remove the spwd module.
The module has several limitation. Most importantly it bypasses the PAM
stack. Therefore it's not compatible with password policies or other
password storages like LDAP.
More information about the Python-Dev