[24452] in Kerberos

home help back first fref pref prev next nref lref last post

Change password without old password in kerberos 5 on linux

daemon@ATHENA.MIT.EDU (cne@dmdata.dk)
Fri Aug 12 14:57:52 2005

From: cne@dmdata.dk
Date: 12 Aug 2005 01:41:28 -0700
Message-ID: <1123836088.344552.180960@g14g2000cwa.googlegroups.com>
To: kerberos@mit.edu
Errors-To: kerberos-bounces@mit.edu

Hello

I'm having a problem changing a user's password, in the event that
they forgot their password.

I'm creating a CGI script in C, since we're trying to automate
forgotten password.

I can use the script to change a user's password by using the
function krb5_get_init_creds_password in krb5.h. Unfortunately I can't
use the function krb5_change_password without calling the previous
function.
I've read that krb5_get_init_creds_password creates a TGT for the user,
so he or she is able to change their password.

But the idea is that the user can change their password without
authenticating with their old password first.

Is this possible?

Hope you all can help!

Regards
Claus Nielsen

________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post