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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix point 5.6, ref discussions/14 馃敤 #28

Merged
merged 3 commits into from
Jan 21, 2021
Merged

Fix point 5.6, ref discussions/14 馃敤 #28

merged 3 commits into from
Jan 21, 2021

Conversation

alivx
Copy link
Owner

@alivx alivx commented Jan 20, 2021

No description provided.

# Section 5 PAM config
usersAllowedToAccess:
- root
- ubuntu
Copy link
Collaborator

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".

@@ -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:
Copy link
Collaborator

@jvleminc jvleminc Jan 20, 2021

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
Copy link
Collaborator

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

Copy link
Owner Author

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?

Copy link
Collaborator

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

Copy link
Owner Author

Choose a reason for hiding this comment

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

Lol, ok

@alivx alivx merged commit c5c0f0b into master Jan 21, 2021
@alivx alivx deleted the issue_14 branch January 25, 2021 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants