forked from canonical/cloud-init
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Ensure random passwords contain multiple character types (canon…
…ical#5815) The complexity of the random password generated by the rand_user_password() method may not meet the security configuration requirements of the system authentication module. This can cause chpasswd to fail. This commit ensures we generate a password using 4 different character classes. Fixes canonicalGH-5814 Co-authored-by: James Falcon <james.falcon@canonical.com>
- Loading branch information
1 parent
5819c94
commit 879945f
Showing
2 changed files
with
66 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters