Permissions – How do I change my username? – Ask Ubuntu

Log in using your username and password.
Set a password for the “root” account.
sudo passwd root
Log out.
exit
Log in using the “root” account and the password you have previously set.
Change the username and the home folder to the new name that you want.
usermod -l <newname> -d /home/<newname> -m <oldname>
Change the group name to the new name that you want.
groupmod -n <newgroup> <oldgroup>
Look the “root” account.
passwd -l root
Log out.
exit
press Ctrl+ALT+F7.
via permissions – How do I change my username? – Ask Ubuntu.

About the Author

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

You may also like these