user name
Can I change my log in user name. How
iMac, OS X El Capitan (10.11.3), 32GB
Can I change my log in user name. How
iMac, OS X El Capitan (10.11.3), 32GB
Change the account name and home directory name on your Mac - Apple Support
However, if you are wanting to change the name because you bought a used Mac, then you should erase the disk an reinstall the OS because you have no idea what the previous owner installed. If you trust the previous owner, just create a new account and delete the other account.
user name