Enhance password validation warnings when disabling autologin#37
Open
assisted-by-ai wants to merge 1 commit intoKicksecure:masterfrom
Open
Enhance password validation warnings when disabling autologin#37assisted-by-ai wants to merge 1 commit intoKicksecure:masterfrom
assisted-by-ai wants to merge 1 commit intoKicksecure:masterfrom
Conversation
When disabling autologin for sysmaint (or any user), the script now checks if the account password is locked or disabled, and warns that manual login will not work. Previously, only empty passwords were checked with a misleading message, and the CLI mode had no warning at all, leaving users unable to log in after disabling autologin. https://claude.ai/code/session_01NAtpA8bBuvZfeu1PeytGRs
Contributor
|
Integrated in ArrayBolt3@ae4eb79, however I chose a different wiki page for the documentation when faced with an unusable password, because the suggested "login" page doesn't have good info about locked passwords. |
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.
Summary
Renamed and enhanced the password validation warning function to provide more comprehensive feedback when disabling autologin for user accounts. The function now checks for locked or disabled passwords in addition to empty passwords, and provides more accurate messaging based on the actual password state.
Key Changes
warn_on_empty_user_password()towarn_on_unusable_password()to better reflect its expanded functionalityis_pass_locked()andis_pass_disabled()checkswarn_on_unusable_password()incli_disable_autologin()function for both regular users and sysmaint accountImplementation Details
https://claude.ai/code/session_01NAtpA8bBuvZfeu1PeytGRs