Ability to generate passwords using diceware#176
Open
raphael247 wants to merge 2 commits intolinuxmuster:bionicfrom
Open
Ability to generate passwords using diceware#176raphael247 wants to merge 2 commits intolinuxmuster:bionicfrom
raphael247 wants to merge 2 commits intolinuxmuster:bionicfrom
Conversation
To generate dice-passwords: - set the option RANDOM_PWD=dice in school.conf - PWD_LENGTH will be the number of words separated by dots. - diceware must be installed by 'pip3 install diceware' - Samba must be configured to permit non-komplex passwords via 'samba-tool domain passwordsettings set --complexity=off'
|
What is the current status of this PR? This feature makes absolutely sense. Please merge or get in touch with @raphael247 if this should be implemented differently. |
|
Hi @raphael247, We apologize for the delay in reviewing your pull request. Unfortunately, the developer responsible for this has been unavailable for an extended period. However, we've addressed the situation by creating a fork to continue the process, and we'll be moving forward with the necessary steps to handle your contribution. Thank you for your patience and understanding. Best regards, |
Introduced DICE config options in school.conf:
[userfile.students|teacher|extrastudents.csv]
DICE_LANG = de_8k
DICE_SEPARATOR = .
DICE_WORDS = 2
DICE_CAPS = TRUE
Error checks:
- diceware package not installed
- samba password complexity not disabled
- diced password too short (samba minimum password length)
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
To generate dice-passwords: