Hide Forgot
Description of problem: When adding a new user, would be nice to have an option to allow a random password be generated for this user suggestion during IPA training. Version-Release number of selected component (if applicable): ipa-server-2.1.2-2.el6.x86_64 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
For what purpose? To be able to provide it to the user somehow and say "your account is set up, password is XYZ, it will reset the first time you use it"?
When setting up an account, you always have to do the following steps (excluding migrations): 1) ipa user-add 2) ipa passwd <user> - Enter a random (or not-so-random) temporary password I think it would make sense to use something like pwgen to create the temporary password at user-creation time. This would just be one step fewer that the admin needs to perform.
Upstream ticket: https://fedorahosted.org/freeipa/ticket/1979
Note that you can add a password at creation time with the --password option, we just don't provide a random mechanism.
Fixed upstream: master: da4b4fc4d9ef42f8ca46d5b5f405b93ba84f07d0
verified :: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: ipa-user-cli-add-036: test of random password generation with user-add :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: kinit as 36user with new password fo0m4nchU was successful. :: [ PASS ] :: Success - kinit at first time with password [RP6xpIK+J+V.] success :: [ LOG ] :: kinit as admin with password Secret123 was successful. :: [ LOG ] :: Duration: 7s :: [ LOG ] :: Assertions: 1 good, 0 bad :: [ PASS ] :: RESULT: ipa-user-cli-add-036: test of random password generation with user-add :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: ipa-user-cli-mod-054: test of random password generation with user-add :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: kinit as admin with password Secret123 was successful. :: [ LOG ] :: kinit as 36user with new password fo0m4nchU was successful. :: [ PASS ] :: Success - kinit at first time with password [W3miIg.W7FoG] success :: [ LOG ] :: kinit as admin with password Secret123 was successful. :: [ LOG ] :: Duration: 11s :: [ LOG ] :: Assertions: 1 good, 0 bad :: [ PASS ] :: RESULT: ipa-user-cli-mod-054: test of random password generation with user-add version :: ipa-server-2.2.0-5.el6.x86_64
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: No documentation needed.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0819.html