rename username ubuntu 20.04
usermod -l <newname> -d /home/<newname> -m <oldname>
# -l changes login name
# -d changes home directory
# -m copies over contents from old home directory
usermod -l <newname> -d /home/<newname> -m <oldname>
# NOTE: will not work if you are currently logged on as user
# - workaround by temporarily enabling root account and running above command there
# [sudo passwd root]
# - after root account has been used to change username lock it using
# [sudo passwd -l root]
Also in C++:
- ssh transfer file from local to remote
- Flutter plugin not installed; this adds Flutter specific functionality
- * Connection #0 to host artifactory-us.cytiva.net left intact
- how to store a 6 digit number as 6 separate integers
- install nodejs on ubuntu
- enable ufw ubuntu
- how to make a list bash
- how to make file in powershell
- terraform fmt
- install hyperopt
- cat command in linux with examples
- popwershell add local user
- powershell install-package multiple msi from local file
- install tensorflow from source ubuntu 18.04
- install composer ubuntu 18.04
- ubuntu deskyop repository
- fatal: 'upstream' does not appear to be a git repository
- how to install powershell
- bash split string into variables
- how to install things with apt
- omni github
- pc specs linux command
- git crash course
- bluetooth xubuntu activate linux