[Freeipa-devel] [PATCH] 877 prompt for current password
Jan Cholasta
jcholast at redhat.com
Mon Sep 19 06:49:58 UTC 2011
On 16.9.2011 21:16, Rob Crittenden wrote:
> Prompt for the current password when changing your own password using
> ipa passwd.
>
> I had to jump through several hoops with this:
>
> - Added a new sortorder option so the Current password is prompted first
IMO something like "before='password'" would be more readable and
probably less error-prone than "sortorder=-1".
> - Pass a magic value for current_password if changing someone else's
> password
>
> NOTE: This breaks the API for passwd. There is no way around it. I have
> this as a minor update as it won't cause older clients to blow up too
> badly, but their passwd command won't work.
>
> rob
>
Honza
--
Jan Cholasta
More information about the Freeipa-devel
mailing list