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

[Proposal] Restrict etc/cron* to root user only, add Password policies #759

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AhmedShaheen-MEC
Copy link

No description provided.

@AhmedShaheen-MEC AhmedShaheen-MEC changed the title - Restrict etc/cron* to root user only [Proposal] Restrict etc/cron* to root user only, add Password policies May 5, 2024
@schurzi
Copy link
Contributor

schurzi commented May 10, 2024

Hi @AhmedShaheen-MEC thanks for this contribution! Can you add a bit more explaination, why you want to restrict the directories?

Also the change to the Password policies seems redundant, since we already have defaults present.

Comment on lines +34 to +35
os_auth_pw_max_age: 60
os_auth_pw_min_age: 7
Copy link
Contributor

Choose a reason for hiding this comment

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

these are already in the general defaults (https://github.com/dev-sec/ansible-collection-hardening/blob/master/roles/os_hardening/defaults/main.yml#L5-L6) so no need to declare them for every OS separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants