retitle 341230 passwd: Partial changes with chfn other values
tags 341230 upstream
tags 341230 - unreproducible
thanks

Hello Tomasz,

Here is some more information.

In chfn.c, we use getpwnam to retrieve the passwd structure for the given
user.
The reason this bug appear wim pam_unix 0.76 and not with 0.79 is that
pam_unix also uses getpwnam, and thus changes the internal structure
returned (to both shadow and pam_unix).

I think we should either duplicate this structure, or use getpwnam_r.

I'm reverting the title change, since I do think it is a shadow bug (e.g.
another PAM module could still use getpwnam).

Maybe this should also be checked in the other shadow utilities.

PS: upgrading to libpam-modules 0.79 is still recommended.

Kind Regards,
-- 
Nekral


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to