{"description": "Accounts meant for non-interactive purposes should be locked to prevent\nunauthorized access. Accounts with non-standard shells (those not defined in\n<tt>/etc/shells</tt>) should be locked using <tt>usermod -L</tt>.", "rationale": "Locking non-interactive accounts improves security by preventing potential\nmisuse. While many systems configure these accounts with invalid strings,\nsetting the shell field to <tt>nologin</tt> is also suggested", "severity": "medium", "references": {"cis": ["5.4.2.8"]}, "control_references": {"cis": ["5.4.2.8"]}, "components": [], "identifiers": {}, "ocil_clause": null, "ocil": null, "oval_external_content": null, "fixtext": "", "checktext": "", "vuldiscussion": "", "srg_requirement": "", "warnings": [{"general": "Automatic remediation of this control is not recommended. Locking system accounts\ncould be highly disruptive."}], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": [], "cpe_platform_names": [], "inherited_cpe_platform_names": [], "bash_conditional": null, "fixes": {}, "title": "Verify Non-Interactive Accounts Are Locked", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/accounts/accounts-restrictions/root_logins/no_invalid_shell_accounts_unlocked/rule.yml", "template": null}