-
Notifications
You must be signed in to change notification settings - Fork 741
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
Rewrite system account detection and hardening and create tests #621
Conversation
I'll try to find some time later this week to look into it. I know I had a hard time splitting up the initial pull request into multiple smaller requests. It makes sense that re-uniting them is just as complicated 😋 |
Signed-off-by: Sebastian Gumprich <[email protected]>
I lost the content of the branch/pullrequest that kept the sys accounts changes separate from the other stuff. But I still have a copy of the final user_accounts.yml file, that has all the changes that I tried to split in separate pull requests (user accounts + system accounts + root accounts). It seems like you undid some of the inital changes during merge of master branch. From what I can see, I think by now you can remove the 5 plays below from the file. "uid_min" and "uid_max" should not be used any longer. Instead we now rely on os_auth_sys_uid_max/os_auth_uid_min/os_auth_uid_max from the vars file.
|
You also might want to consider splitting this:
in 2 separate tasks, to make detection of existing password locks more reliable
Sorry, for texting this, but I don't have editing rights in this pull request. |
I rebased to your current master branch and force-pushed my changes to master...DonEstefan:ansible-collection-hardening:system_account_hardeining_rewrite |
Signed-off-by: Sebastian Gumprich <[email protected]>
535f0a4
to
4251417
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great cleanup, Just the minor change in the name of the test prepare task and I also like the suggestion from @DonEstefan to split up the setting of shell and password.
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Sebastian Gumprich <[email protected]>
@DonEstefan I messed up your PR when trying to resolve merge conflicts.
Can you please either: