Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate random passwords for Kickstart's rootpw section #2148

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

evgenyz
Copy link
Contributor

@evgenyz evgenyz commented Aug 7, 2024

While the password is pseudo-random it is still better than accidentally having a server with 'changeme' password.

@evgenyz evgenyz requested a review from jan-cerny August 7, 2024 19:28
@evgenyz evgenyz added this to the 1.4 milestone Aug 7, 2024
@evgenyz evgenyz force-pushed the add-kickstart-random-password branch from 16968be to eba82f3 Compare August 7, 2024 19:36
@jan-cerny jan-cerny self-assigned this Aug 8, 2024
/**
* Generates a pseudorandom string of a given length.
* If charset string is not NULL and its length is greater than 0,
* it will be used as a dictionary, otherwize a default alphanumeric set
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OMG. My recent intensive Czech language course definitely did some collateral damage to my brain. Fixed.

While the password is pseudo-random it is still better than
accidentally having a server with 'changeme' password.
@evgenyz evgenyz force-pushed the add-kickstart-random-password branch from eba82f3 to 2198eef Compare August 8, 2024 16:14
@jan-cerny jan-cerny merged commit fbf3e3c into OpenSCAP:main Aug 9, 2024
17 checks passed
@evgenyz evgenyz deleted the add-kickstart-random-password branch August 13, 2024 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants