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

Fix macro for extracting local interactive users #11589

Merged

Commits on Feb 14, 2024

  1. Fix OVAL macro create_local_interactive_users_object

    This macro is used to extract specific fields from /etc/passwd.
    Only local interactive users are considered by excluding
    those with shell /sbin/nologin.
    
    This fix excludes also users with following shells:
    - /bin/false
    - /usr/bin/false
    - /usr/sbin/nologin
    mpurg committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    b616089 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. Fix nologin_ignored tests for rules using create_local_interactive_us…

    …ers_object
    
    The solution deduplicates most of the code to test/shared/accounts_common.sh,
    as proposed in PR review.
    mpurg committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    c2d3784 View commit details
    Browse the repository at this point in the history