6.1.5 Remove Guest home folder

Information

In the previous two controls the guest account login has been disabled and sharing to guests has been disabled as well. There is no need for the legacy Guest home folder to remain in the file system. When normal user accounts are removed you have the option to archive it, leave it in place or delete. In the case of the guest folder the folder remains in place without a GUI option to remove it. If at some point in the future a Guest account is needed it will be re-created. The presence of the Guest home folder can cause automated audits to fail when looking for compliant settings within all User folders as well. Rather than ignoring the folders continued existence it is best removed.

Rationale:

The Guest home folders are unneeded after the Guest account is disabled and could be used inappropriately.

Impact:

The Guest account should not be necessary after it is disabled and it will be automatically re-created if the Guest account is re-eanbled

Solution

Perform the following to implement the prescribed state:

Run the following command in Terminal:

rm -R /Users/Guest



Make sure there is no ouput

See Also

https://workbench.cisecurity.org/files/3092

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-2

Plugin: Unix

Control ID: fddb8cb28e9eed32ecdf72d4e2f6d1bd8c2b818374491e07c9dc40ad6fd12cc9