change full name of linux user on fedora code example Example: rename username ubuntu 20.04 usermod -l <newname> -d /home/<newname> -m <oldname>