Re: About-me-password backend



On 4/10/06, Johannes H. Jensen <joh deworks net> wrote:
> Dear almighty GNOME hackers, I'm in need of some pointers!
>
> I'm currently hacking on the about-me password dialog (see #321567),
> which is spawning /usr/bin/passwd to authenticate and change the
> password. In the new dialog, I'm dividing the process in two, so that
> the user has to authenticate with his current password first (which
> spawns passwd to verify). If passwd doesn't complain and prompts for
> the new password, he can enter his new password, retype it and hit
> "Change password". When he hits the button, some time has elapsed
> since he first authenticated (and thus passwd was spawned).
>

Note that any solution which only asks for old and new password is not
fexible enough. pam allows very different setups, and the change password
feature in the capplet should support them. What we do in fedora is
to just spawn /usr/bin/userpasswd, which is designed to handle all this.

Matthias



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]