Ubuntu переименовать в систему пользователя
#As root / or as another user.
# Kill the processes of the user to rename
pkill -u <OldLoginName>
#Rename user login
usermod -l <OldLoginName> <NewLoginName>
#Rename HomeDir
sudo usermod -d /home/NewHomeDir -m NewLoginName
Wide-eyed Wombat