I have to edit my host files.. can this harm my mac?

Discussion in 'Mac OS X Lion (10.7)' started by Trance, Oct 8, 2011.

  1. Trance macrumors 6502

    Joined:
    Feb 27, 2011
    #1
    To install an app i have to add a host to my sudo nano /private/etc/hosts.

    Could this possibly harm my mbp?
    I could always remove it right?
     
  2. MacsRgr8, Oct 8, 2011
    Last edited: Oct 8, 2011

    MacsRgr8 macrumors 604

    MacsRgr8

    Joined:
    Sep 8, 2002
    Location:
    The Netherlands
    #2
    LOL... not installing pirated software, eh..? :D

    Your /etc/hosts file is the file your Mac will look first to lookup a DNS name to hook the IP address to.

    You can take a look at it by typing:
    "more /etc/hosts"

    ##
    # 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
    fe80::1%lo0 localhost
    ________________________________________

    Might be a good idea to make a backup of the file first:
    "sudo cp /etc/hosts /etc/hosts.old"

    Good luck!
     
  3. Trance thread starter macrumors 6502

    Joined:
    Feb 27, 2011
    #3
    thank you, i already changed it before making a backup :(

    is this the original for lion


     
  4. (marc) macrumors 6502a

    (marc)

    Joined:
    Sep 15, 2010
    Location:
    the woods
    #4
    My crystal ball says that OP wants to install a certain Adobe product. :D
     
  5. Patrick J macrumors 65816

    Patrick J

    Joined:
    Mar 12, 2009
    Location:
    Oporto, Portugal
    #5
    You wouldn’t be talking about that one they use for photos, by any chance? :D
     
  6. phyrexia macrumors 6502a

    Joined:
    Sep 3, 2010
    #6
    No, it's this sweet creative software...
     
  7. mrsir2009 macrumors 604

    mrsir2009

    Joined:
    Sep 17, 2009
    Location:
    Melbourne, Australia
    #7
    ... Illustrator! :eek:
     
  8. budman1961 macrumors regular

    Joined:
    Mar 9, 2010
  9. ztrafe macrumors member

    Joined:
    Apr 25, 2010
    Location:
    Sweden
    #9
    or Parallels 7 ;)
     

Share This Page