{"description": "systemd's <tt>debug-shell</tt> service is intended to\ndiagnose systemd related boot issues with various <tt>systemctl</tt>\ncommands. Once enabled and following a system reboot, the root shell\nwill be available on <tt>tty9</tt> which is access by pressing\n<tt>CTRL-ALT-F9</tt>. The <tt>debug-shell</tt> service should only be used\nfor systemd related issues and should otherwise be disabled.\n<br /><br />\nBy default, the <tt>debug-shell</tt> systemd service is already disabled.\n\nEnsure the debug-shell is not enabled by the <tt>systemd.debug-shel=1</tt>\nboot parameter option.\n\nCheck that not boot entries in <tt>/boot/loader/entries/*.conf</tt> have\n<tt>systemd.debug-shell=1</tt> included in its options.<br />\nTo ensure that new kernels and boot entries don't enable the debug-shell, check\nthat <tt>systemd.debug-shell=1</tt> is not present in <tt>/etc/kernel/cmdline</tt>.", "rationale": "This prevents attackers with physical access from trivially bypassing security\non the machine through valid troubleshooting configurations and gaining root\naccess when the system is rebooted.", "severity": "medium", "references": {"ospp": ["FIA_UAU.1"]}, "control_references": {}, "components": [], "identifiers": {}, "ocil_clause": "the command returns a line", "ocil": "Ensure that debug-shell service is not enabled with the following command:\n<pre>sudo grep -L \"^options\\s+.*\\bsystemd.debug-shell=1\\b\" /boot/loader/entries/*.conf</pre>\nNo line should be returned, each line returned is a boot entry that enables the debug-shell.", "oval_external_content": null, "fixtext": "", "checktext": "", "vuldiscussion": "", "srg_requirement": "", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": "machine", "platforms": ["machine"], "sce_metadata": {}, "inherited_platforms": ["s390x_arch"], "cpe_platform_names": ["machine"], "inherited_cpe_platform_names": ["s390x_arch"], "bash_conditional": null, "fixes": {}, "title": "Ensure debug-shell service is not enabled in zIPL", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/bootloader-zipl/zipl_systemd_debug-shell_argument_absent/rule.yml", "template": null}