Skip to content

user: preserve the existing password on BusyBox systems - #87499

Open
Akasurde wants to merge 2 commits into
ansible:develfrom
Akasurde:user_lock
Open

Akasurde wants to merge 2 commits into
ansible:develfrom
Akasurde:user_lock

Conversation

@Akasurde

@Akasurde Akasurde commented Sep 8, 2026

Copy link
Copy Markdown
Member
SUMMARY
  • On BusyBox systems, preserve the existing password lock marker
    when password_lock is omitted.

Signed-off-by: Abhijeet Kasurde Akasurde@redhat.com

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

changelogs/fragments/user-busybox-password-lock.yml
lib/ansible/modules/user.py
test/integration/targets/user/tasks/test_password_lock.yml

* On BusyBox systems, preserve the existing password lock marker
  when ``password_lock`` is omitted.

Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com>
@Akasurde

Akasurde commented Sep 8, 2026

Copy link
Copy Markdown
Member Author

cc @samdoran

@ansibot ansibot added bug This issue/PR relates to a bug. needs_triage Needs a first human triage before being processed. module This issue/PR relates to a module. labels Sep 8, 2026
@bcoca bcoca removed the needs_triage Needs a first human triage before being processed. label Sep 8, 2026
Comment thread changelogs/fragments/user-busybox-password-lock.yml Outdated
Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
@samdoran

samdoran commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

I went around in circles quite a bit trying to cover all the edge cases. This is a much clearer implementation. Well done.

🚢

@ansibot ansibot added the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Sep 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug This issue/PR relates to a bug. module This issue/PR relates to a module. stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants