Question: how to change the user name in unix?
Answer: Create a new temp account with sudo rights: sudo adduser temp sudo adduser temp sudo.
Log out from your current account and back in with the temp account.
Rename your username and directory: sudo usermod -l new-username -m -d /home/new-username old-username.