Results 1 to 3 of 3
  1. #1
    Adding data to the Hosts file

    Member Since
    Mar 07, 2011
    Location
    Billericay, UK
    Posts
    10
    Specs:
    Looking after father in laws Apple iMac 27" All-In-One Desktop PC 2.8Ghz
    Adding data to the Hosts file
    I am trying to add data to the 'hosts' file. When I paste this sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts - into the 'terminal' I am asked for a password I don't ever remember setting. After resetting the password using the OS install CD I went back to the 'terminal' and typed in the password. Nothing appeared on the screen when I typed the password and after pressing 'enter' a message said it was the wrong password. Should at least some characters appear as I type the password or should the password be preceeded with another character or word?
    The machine is a month old mac pro belonging to my 87 year old father in law who uses it with Photoshop. I am a Windows follower and know very little about OS X please help.

  2. #2
    Adding data to the Hosts file
    IvanLasston's Avatar
    Member Since
    Feb 26, 2010
    Location
    Rocky Mountain High, Colorado
    Posts
    2,116
    Specs:
    1.8 GHz i7 MBA 11" OSX 10.8.2
    When you sudo - you won't see anything echoed back in the password prompt. If the command works - it will respond - otherwise you will get the wrong password message. One thing you can do is do a
    Code:
    sudo ls
    Put in the password. If it works you will get a directory listing. Then you have a few minutes to do other sudo commands without having to put in the password. The sudo password is usually the same password as the login password - not the root password.

  3. #3
    Adding data to the Hosts file

    Member Since
    Mar 07, 2011
    Location
    Billericay, UK
    Posts
    10
    Specs:
    Looking after father in laws Apple iMac 27" All-In-One Desktop PC 2.8Ghz
    Sudo
    Thank you IvanLasston it worked this time with the same (I'm sure) password I used before. It is a bit unsettling not to see anything happen when you type your password in under Sudo. My problem is now is I have to type in a password when I switch on the computer. There also appears to be the option to sign in someone else! I think this happened when I changed the passwords.
    How do I get back to sarting the computer without having to login at all?
    Thanks, Don

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. hosts file
    By ankhseeker in forum OS X - Operating System
    Replies: 10
    Last Post: 12-18-2014, 11:54 AM
  2. etc/hosts file gone . .
    By wales321 in forum Switcher Hangout
    Replies: 2
    Last Post: 11-14-2012, 09:00 AM
  3. hosts file
    By afcbob in forum OS X - Operating System
    Replies: 2
    Last Post: 11-29-2009, 12:21 PM
  4. Hosts File
    By traveler09 in forum OS X - Operating System
    Replies: 3
    Last Post: 07-29-2009, 07:59 AM
  5. Where is the hosts file?
    By Stoomie in forum OS X - Operating System
    Replies: 3
    Last Post: 08-10-2004, 03:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •