-1

The user name in my MacOS terminal shows as username-2, while I don't know the -2

Last login: Mon Sep  3 17:59:39 on ttys001
501 HacSec-2:hacsec ~$
ODosari
  • 1
  • 1

1 Answers1

0

I got the answer and fixed my terminal username to normal by using the following command:

# sudo scutil --set HostName (Add Your Username Here)

more information at this link

ODosari
  • 1
  • 1