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

Add file system checks for other shadow and passwd/group files #161

Open
cmhe opened this issue Oct 25, 2021 · 1 comment · May be fixed by #162
Open

Add file system checks for other shadow and passwd/group files #161

cmhe opened this issue Oct 25, 2021 · 1 comment · May be fixed by #162

Comments

@cmhe
Copy link
Contributor

cmhe commented Oct 25, 2021

Is your feature request related to a problem? Please describe.
We currently have os-02 and os-03 which checks the permissions of /etc/shadow and /etc/passwd.

There are other files related to those, which are currently ignored:

  • /etc/shadow- (backup for /etc/shadow
  • /etc/gshadow (might contain group password hashes)
  • /etc/gshadow- (backup for /etc/gshadow)
  • /etc/passwd- (backup for /etc/passwd)
  • /etc/group (contains available groups and memberships)
  • /etc/group- (backup for /etc/group)

Describe the solution you'd like
Add checks for those files as well

@chris-rock
Copy link
Member

Great idea @cmhe Happy to accept PRs to improve the controls

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 a pull request may close this issue.

2 participants