Skip to content
ATO Pathways
Log In
Overview
Search
Catalogs
SCAP
OSCAL
Catalogs
Profiles
Documents
References
Knowledge Base
Platform Documentation
Compliance Dictionary
Platform Changelog
About
Catalogs
XCCDF
Guide to the Secure Configuration of Red Hat Enterprise Linux 8
Services
Obsolete Services
Rlogin, Rsh, and Rexec
Remove User Host-Based Authentication Files
Remove User Host-Based Authentication Files
An XCCDF Rule
Details
Profiles
Prose
Remove User Host-Based Authentication Files
High Severity
The
~/.shosts
(in each user's home directory) files list remote hosts and users that are trusted by the local system. To remove these files, run the following command to delete them from any location:
$ sudo find / -name '.shosts' -type f -delete