I have a hosts.equiv file in my /etc folder. Why?

I was checking my hosts file and in my /etc folder, I noticed a hosts.equiv file. I've never seen anything like that before on previous incarnations of my Macbook with Mavericks/Yosemite/etc, and I definitely don't have the knowledge or knowhow to use any sort of remote administration, which is apparently what the hosts.equiv file is used for.


I opened the equiv file with Text Edit and nothing is listed in it. Right clicking to access Get Info shows that it was created at the same time as my hosts file. Nothing in my hosts file seems out of place - it is listed exactly as it should be:


##

# Host Database

#

# localhost is used to configure the loopback interface

# when the system is booting. Do not change this entry.

##

127.0.0.1 localhost

255.255.255.255 broadcasthost

::1 localhost


The text cursor blinks exactly on the first space on the line exactly after the line starting with ::1.


I would just like to know if the mere existence of the hosts.equiv file means my machine may be potentially compromised?

MacBook Pro with Retina display, OS X El Capitan (10.11.1)

Posted on Oct 29, 2015 4:21 AM

Reply
5 replies

Oct 29, 2015 5:44 AM in response to Barney-15E

Sorry about my terseness. Ok, so I didn't realise that there was more to the Terminal window. And I wasn't mucking around with my hosts file, just looking at it. I really know nothing about the internal workings of my Macbook.


I read the rest of the information from the Terminal command...so, as long as there's nothing listed in the hosts.equiv file, I have nothing to worry about, yeah? Or the fact that there a hosts.equiv file exists means that someone could've potentially remotely authenticated themselves in the past?


Thanks again.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

I have a hosts.equiv file in my /etc folder. Why?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.