Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

woomera

macrumors member
Original poster
Oct 23, 2009
38
0
ive been trying to edit the SSH port in Services file but i get an error saying "You do not have appropriate access privileges".
tried changing the permissions and give everyone read&write but no luck.
tried "sudo open -t /etc/services" but still cant save the file.
how can i fix this?

thank you
 
I edit it by going to the /etc/ folder in Finder, dragging the file to the Desktop, editing it with TextEdit, dragging it back into the /etc/ folder, type in my login password. That's what I do.
 
Drag a copy of the file to your desktop. Edit that file. Then drag it back to replace the one in your /etc folder, entering your admin password to allow overwriting.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.