-
-
Notifications
You must be signed in to change notification settings - Fork 108
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix point 5.6, ref discussions/14 馃敤 #28
Conversation
defaults/main.yml
Outdated
# Section 5 PAM config | ||
usersAllowedToAccess: | ||
- root | ||
- ubuntu |
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.
I'd remove user "ubuntu" here. He can always "su" through "sudo su".
defaults/main.yml
Outdated
@@ -133,6 +133,12 @@ account_inactive: 30 | |||
## 5.4.5 Ensure default user shell timeout is 900 seconds or less | |||
shell_timeout_sec: 900 | |||
|
|||
# Section 5 PAM config | |||
usersAllowedToAccess: |
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.
Better: usersAllowedToAccess => usersAllowedToSuAccess ?
Also fix where used.
owner: root | ||
group: root | ||
mode: 0644 | ||
- name: 5.6 Ensure access to the su command is restricted | create su-group-access |
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.
*...create /etc/pam.d/su
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.
What is the issue here?
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.
You copypasted from above, here the line should be:
- name: 5.6 Ensure access to the su command is restricted | create /etc/pam.d/su
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.
Lol, ok
No description provided.