UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The root shell must be located in the / file system.


Overview

Finding ID Version Rule ID IA Controls Severity
V-1062 GEN001080 SV-44918r1_rule ECSC-1 Low
Description
To ensure the root shell is available in repair and administrative modes, the root shell must be located in the / file system.
STIG Date
SUSE Linux Enterprise Server v11 for System z 2015-10-20

Details

Check Text ( C-42359r1_chk )
Determine if roots shell executable resides on a dedicated file system.

Procedure:
Find the location of the root users shell

# grep "^root" /etc/passwd|cut -d: -f7|cut -d/ -f2

The result is the top level directory under / where the shell resides (ie. usr)
Check if it is on a dedicated file system.

# grep / /etc/fstab

If / is on a dedicated file system, this is a finding.
Fix Text (F-38350r1_fix)
Change the root account's shell to one present on the / file system.

Procedure:
Edit /etc/passwd and change the shell for the root account to one present on the / file system (such as /bin/sh, assuming /bin is not on a separate file system). If the system does not store shell configuration in the /etc/passwd file, consult vendor documentation for the correct procedure for the system.