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

Check for and exclude users with /sbin/nologin needs to added for certain tasks before they run #208

Closed
prestonSeaman2 opened this issue Jun 28, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@prestonSeaman2
Copy link

Feature Request or Enhancement

  • Feature []
  • Enhancement [x]

Summary of Request
There needs to be a check and exclusion of the /sbin/nologin users from the local_interactive_user_dir_command. As of right now users with shell= sbin/nologin are not being excluded. Service accounts should not be treated the same. This would improve the RHEL-08-010740, RHEL-08-010741 and RHEL-08-010750 tasks.

Suggested Code
A check of the item.shell=sbin/nologin needs to be performed when populating the local_interactive_user_dir_command variable for the RHEL-08-010740, RHEL-08-010741 and RHEL-08-010750 tasks.

@prestonSeaman2 prestonSeaman2 added the enhancement New feature or request label Jun 28, 2023
@uk-bolly uk-bolly self-assigned this Jul 5, 2023
@uk-bolly
Copy link
Member

uk-bolly commented Jul 5, 2023

hi @prestonSeaman2

Thank you for raising this query, It is with interaction we continue to enhance these baselines. I am adding this issue to the June_issues branch, that i hope to get available later today in the repository.
If all is as expected will raise the PR later this week.

many thanks

uk-bolly

uk-bolly added a commit that referenced this issue Jul 5, 2023
@uk-bolly uk-bolly mentioned this issue Aug 8, 2023
@uk-bolly
Copy link
Member

hi @prestonSeaman2

Thank you again for raising this issue. This has now been merged into main for a while, i will close this issue please open a new request if this is not resolved.

many thanks

uk-bolly

uk-bolly added a commit that referenced this issue May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants