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

Adding a means to exclude certain users from CIS 5.6.2 #245

Closed
Thulium-Drake opened this issue Oct 15, 2024 · 1 comment
Closed

Adding a means to exclude certain users from CIS 5.6.2 #245

Thulium-Drake opened this issue Oct 15, 2024 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@Thulium-Drake
Copy link
Contributor

Question
Would it be useful to others as well to have a way of excluding certain system users from the 'thou shalt not have a shell' hardening for system users.

Case in point: I install Gitea/Forgejo with the community maintained Ansible role and they create the service account that runs the app as a system user (uid < 1000), as they should.

Now most applications never have to use their shells, but Gitea/Forgejo is an interesting exception, as it provides it's SSH-based git functions via, you guessed it, a shell.

Now I'd be willing to write a patch to include this in the role, but I'd like to gauge interest before I do that :-)

@Thulium-Drake Thulium-Drake added the question Further information is requested label Oct 15, 2024
@uk-bolly uk-bolly self-assigned this Nov 4, 2024
@uk-bolly
Copy link
Member

uk-bolly commented Nov 4, 2024

hi @Thulium-Drake

Thank you for raising the question, I feel anything we add to extend the functionality is a great idea as long as we keep it as simple to understand as possible.
More than happy to take a PR.

Many thanks as always

uk-bolly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants