HomeAppleunlock - Cannot make any change of hosts file on Mac OS...

unlock – Cannot make any change of hosts file on Mac OS ventura


Ask for assist!

I plan so as to add some data into hosts file beneath /and many others/hosts. however when I attempt to change the file, I bought error. unable to put in writing a readonly file.

I even use the basis account to attempt to change it, nonetheless failed. under is the file

sh-3.2# id
uid=0(root) gid=0(wheel) teams=0(wheel),1(daemon),2(kmem),3(sys),4(tty),5(operator),8(procview),9(procmod),12(everybody),20(employees),29(certusers),61(localaccounts),80(admin),703(com.apple.sharepoint.group.3),702(com.apple.sharepoint.group.2),33(_appstore),98(_lpadmin),100(_lpoperator),204(_developer),250(_analyticsusers),395(com.apple.access_ftp),398(com.apple.access_screensharing),399(com.apple.access_ssh),400(com.apple.access_remote_ae),701(com.apple.sharepoint.group.1)
sh-3.2# ls -l /and many others/hosts
-rw-r--r--  1 root  wheel  688 10 25 08:19 /and many others/hosts
sh-3.2#

I attempt to change the permission of this file, nonetheless failed.

sh-3.2# chmod 777 hosts
chmod: Unable to vary file mode on hosts: Operation not permitted

and after I disable SIP, nonetheless failed.

Nonetheless when I attempt to change different recordsdata in identical folder(/and many others), will work. solely hosts file did not work.

anybody might help me? nice thanks!

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments