[Fedora-directory-users] Password

Rob Crittenden rcritten at redhat.com
Fri Feb 13 21:30:41 UTC 2009


Per Qvindesland wrote:
> Hi List
> 
> Does anyone know how I can configure it to auomaticly set the username as
> the first password so the user can change the password on first login?
> 
> Regards
> Per Qvindesland
>

There isn't a configuration option for this. You'd need to change a 
little bit of code.

Off the top of my head I think that in funcs.py in the add_user method 
add a line like:

user['userpassword'] = user.get('uid')

You can put this just about anywhere in there, I'd put it around where 
we check for and set homeDirectory, etc.

rob




More information about the Fedora-directory-users mailing list