How do i completely change computer name?

Discussion in 'OS X Yosemite (10.10)' started by poiihy, Oct 5, 2014.

  1. poiihy macrumors 68020

    poiihy

    Joined:
    Aug 22, 2014
    #1
    I changed the computer name in the Sharing perference pane, and that worked for most of it, but in the command line it still shows the old name. How do I fix this?
     
  2. That-Guy macrumors 6502a

    That-Guy

    Joined:
    Feb 25, 2012
    Location:
    UK
    #2
    Have you tried restarting your machine? Would imagine that would fix it?
     
  3. poiihy thread starter macrumors 68020

    poiihy

    Joined:
    Aug 22, 2014
    #3
    lol, I changed the name a little while ago, it's gotten plenty of restarts since :p

    Maybe it's Yosmite bug?
     
  4. That-Guy macrumors 6502a

    That-Guy

    Joined:
    Feb 25, 2012
    Location:
    UK
    #4
    Well thats me out of ideas :D

    Maybe someone else has the answer?
     
  5. Watabou macrumors 68040

    Watabou

    Joined:
    Feb 10, 2008
    Location:
    United States
    #5
    Does typing 'hostname' inside Terminal, print out the new computer name?
     
  6. poiihy thread starter macrumors 68020

    poiihy

    Joined:
    Aug 22, 2014
    #6
    No, it shows the old name, just like it shows before each entrance line whatever you call it
     
  7. Watabou macrumors 68040

    Watabou

    Joined:
    Feb 10, 2008
    Location:
    United States
    #7
    That's pretty weird, I would try entering a new Computer name inside Sharing Preferences, and then entering the name you want after. I've found that sometimes this updates the hostname if the previous one didn't for some reason.

    This sounds like a bug though, I would report it to apple.
     
  8. jbarley macrumors 68030

    jbarley

    Joined:
    Jul 1, 2006
    Location:
    Vancouver Island
    #8
    The computer name and the username are not the same.
    Typing 'hostname' in a terminal window shows my computer name as seen in sharing.
    The command prompts in my Terminal window show my username (short name) at each and every new prompt line.
     

Share This Page