Created
October 8, 2018 14:33
-
-
Save atuanpham/9a3ab56cc346cd35fff9886a3ae94991 to your computer and use it in GitHub Desktop.
Change username in Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
groupadd <new_user_name> | |
usermod -d /home/<new_user_name> -m -g <new_user_name> -l <new_user_name> <old_user_name> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment