Benches MacBooks

2

terminal username

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Is there a character limit to device names on terminal? like mine shows up as my whole first name and part of my last name plus 'MBP2' for my MacBook pro. my spouse has some concern about this. Are these device names auto generated?

2 replies

Sign in or join Beachball Help to reply.

  1. 0

    Grant Bennet-Alder

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Mine is showing computer-name:current-directory short-user-name$

    If I change the current-directory, that part of the prompt string changes to match.

    Changing the short-user-name is not recommended by senior contributors here -- yes, it is possible, but there are so many tales of woe when users changed their short-user-name and then were locked out and their files disappeared.

    To change the short-user-name, a much more prudent way to proceed is to create the short-user-name of your dreams, log in with it, then copy over your files from your old short-user-name directory. If no issue after a month, then the old one is no longer needed and can be deleted.

  2. 0

    leroydouglas

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Is there a character limit to device names on terminal? like mine shows up as my whole first name and part of my last name plus 'MBP2' for my MacBook pro. my spouse has some concern about this. Are these device names auto generated?

    https://unix.stackexchange.com/questions/91292/mac-os-x-terminal-prompt-username