What's my computer's 'name'?

Discussion in 'macOS' started by Soundhound, Jul 19, 2011.

  1. Soundhound macrumors 6502a

    Joined:
    Mar 29, 2006
    #1
    I'm working at a new place, and to give me vpn access (so I can work remotely sometimes) they need to know my Macbook Pro's 'name'. Is that the name of the Admin under My Account, in the Accounts panel of System Preferences?
     
  2. Intell macrumors P6

    Intell

    Joined:
    Jan 24, 2010
    Location:
    Inside
  3. Soundhound thread starter macrumors 6502a

    Joined:
    Mar 29, 2006
    #3
    It's blank!

     
  4. mrchinchilla macrumors 6502

    mrchinchilla

    Joined:
    Mar 6, 2009
    #4
    Open Terminal (Applications>Utilities>Terminal.app) and type:
    Code:
    hostname
     
  5. Soundhound thread starter macrumors 6502a

    Joined:
    Mar 29, 2006
    #5
    I've never used Terminal. Would this be too change the name, or to find out what it is?
     
  6. mrchinchilla macrumors 6502

    mrchinchilla

    Joined:
    Mar 6, 2009
    #6
    The command "hostname" simply gives you your computer's name. So whatever it presented you with is your computer's name.

    It should look like:
    Code:
    computername:~ username$ hostname
    computername.local
     
  7. Soundhound thread starter macrumors 6502a

    Joined:
    Mar 29, 2006
    #7
    thank you. Should it be showing up in that box in the Sharing section of Preferences?
     
  8. mrchinchilla macrumors 6502

    mrchinchilla

    Joined:
    Mar 6, 2009
    #8
    It should, but all that box in the Sharing pref pane is for is allowing the end-user to change their computer's name (hostname) without having to know UNIX commands.
     
  9. Soundhound thread starter macrumors 6502a

    Joined:
    Mar 29, 2006
    #9
    Ah, okay, thanks. I know nothing, so better for me to stay out of the Terminal I think. Under that empty box in the Sharing panel it says:

    Computers on your local network can access your computer at: <name>

    Is that the name of my computer that the admin people want to get me vpn access?
     
  10. Soundhound thread starter macrumors 6502a

    Joined:
    Mar 29, 2006

Share This Page