---
title: "Comment by Jose on \"How To Disable Remote Management and Device Enrollment Notifications on Mac Os.\" | Hashnode"
description: "Does not work for me. The part when you had to put in the command sudo nano /private/etc/hosts Comes up but there is no iprofiles, just localhost to 127.0.0.1,"
url: "https://hashnode.com/posts/how-to-disable-remote-management-and-device-enrollment-notifications-on-mac-os/61e4bf3000c806252387a861/comment/63a76b10b1011ed9ec6cf551"
---

[Discussion](https://hashnode.com/posts/how-to-disable-remote-management-and-device-enrollment-notifications-on-mac-os/61e4bf3000c806252387a861)

Comment [How To Disable Remote Management and Device Enrollment Notifications on Mac Os.](https://hashnode.com/posts/how-to-disable-remote-management-and-device-enrollment-notifications-on-mac-os/61e4bf3000c806252387a861)

[Jose](https://hashnode.com/@jose33)

[Dec 24, 2022](https://hashnode.com/posts/how-to-disable-remote-management-and-device-enrollment-notifications-on-mac-os/61e4bf3000c806252387a861/comment/63a76b10b1011ed9ec6cf551)

Does not work for me. The part when you had to put in the command sudo nano /private/etc/hosts Comes up but there is no iprofiles, just localhost to 127.0.0.1, broadcasthost255.255.255.255, and again localhost ::1. When i type sudo profiles show -type enrollment there is still the organization name and everything but no profiles. Can you please help me. Thanks

[Uchenna Egbo](https://hashnode.com/@yuhcee)

[Dec 26, 2022](https://hashnode.com/posts/how-to-disable-remote-management-and-device-enrollment-notifications-on-mac-os/61e4bf3000c806252387a861/comment/63a76b10b1011ed9ec6cf551#reply-63aa1439b1011ed9ec6d62d0)

I am not sure I get what you are saying [Jose](https://hashnode.com/@jose33).

The command `sudo nano /private/etc/hosts` is trying to open a file called `hosts` with the `nano` editor.

Are you saying the file didn't open so that you can type in the next commands into it or that it did but you didn't see some contents in it?

Can you explain further the challenge you are experiencing? Thanks
