{"description": "All local interactive user accounts, upon creation, should be assigned a home directory.\n<br /><br />\nConfigure the operating system to assign home directories to all new local interactive users by setting the <tt>CREATE_HOME</tt>\nparameter in <tt>/etc/login.defs</tt> to <tt>yes</tt> as follows:\n<br /><br />\n<pre>CREATE_HOME yes</pre>", "rationale": "If local interactive users are not assigned a valid home directory, there is no place\nfor the storage and control of files they should own.", "severity": "medium", "references": {"srg": ["SRG-OS-000480-GPOS-00227"]}, "control_references": {}, "components": [], "identifiers": {}, "ocil_clause": "the value for \"CREATE_HOME\" parameter is not set to \"yes\", the line is missing, or the line is commented out", "ocil": "Verify all local interactive users on Ubuntu 22.04 are assigned a home\ndirectory upon creation with the following command:\n<pre>$ grep -i create_home /etc/login.defs</pre>\n<pre>CREATE_HOME yes</pre>", "oval_external_content": null, "fixtext": "Configure Ubuntu 22.04 to assign home directories to all new local interactive users by setting the \"CREATE_HOME\" parameter in \"/etc/login.defs\" to \"yes\" as follows.\n\nCREATE_HOME yes", "checktext": "", "vuldiscussion": "", "srg_requirement": "All Ubuntu 22.04 local interactive user accounts must be assigned a home directory upon creation.", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {"stig": {"srg_requirement": "All Ubuntu 22.04 local interactive user accounts must be assigned a home directory upon creation.", "vuldiscussion": "If local interactive users are not assigned a valid home directory, there is no place for the storage and control of files they should own.", "checktext": "Verify all local interactive users on Ubuntu 22.04 are assigned a home directory upon creation with the following command:\n\n$ grep -i create_home /etc/login.defs\n\nCREATE_HOME yes\n\nIf the value for \"CREATE_HOME\" parameter is not set to \"yes\", the line is missing, or the line is commented out, this is a finding.", "fixtext": "Configure Ubuntu 22.04 to assign home directories to all new local interactive users by setting the \"CREATE_HOME\" parameter in \"/etc/login.defs\" to \"yes\" as follows.\n\nCREATE_HOME yes"}}, "platform": "package[shadow-utils] and system_with_kernel", "platforms": ["package[shadow-utils] and system_with_kernel"], "sce_metadata": {}, "inherited_platforms": [], "cpe_platform_names": ["package_shadow-utils_and_system_with_kernel"], "inherited_cpe_platform_names": [], "bash_conditional": null, "fixes": {}, "title": "Ensure Home Directories are Created for New Users", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/accounts/accounts-session/accounts_have_homedir_login_defs/rule.yml", "template": null}