Re: Password

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

 



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

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux