Problems editing hosts file in 10.5

Discussion in 'macOS' started by pieman69, Nov 7, 2009.

  1. pieman69 macrumors newbie

    Joined:
    Oct 17, 2009
    #1
    Hi, Im trying to edit the hosts file in 10.5.8 on Macbook Pro to add Server addresses.

    Once i have edited the hostfile and use: sudo cp Desktop/hosts /etc to return the hostfile to etc it requests the administrator password, however the keyboard becomes unresponsive. I have tried using an external usb keyboard with similar result.

    All suggestions gratefully received.
     
  2. RandomKamikaze macrumors 6502a

    RandomKamikaze

    Joined:
    Jan 8, 2009
    Location:
    UK
    #2
    As your doing this in Terminal, you do know that when typing the password it won't actually display anything, not even stars, for security.

    Have you just tried typing your password and pressing return?
     
  3. pieman69 thread starter macrumors newbie

    Joined:
    Oct 17, 2009
    #3
    Thanks for the reply.

    OK,tried that. The hosts file remains on the desktop. Should this action move the hosts file from the desktop or is it 'copied' back?

    Apologies for the basic questions - new to terminal.
     
  4. RandomKamikaze macrumors 6502a

    RandomKamikaze

    Joined:
    Jan 8, 2009
    Location:
    UK
  5. pieman69 thread starter macrumors newbie

    Joined:
    Oct 17, 2009

Share This Page