Two days ago, I installed Ubuntu 20.04 first time.
I have a slightly damaged keyboard and when I created the user, I typed the email address wrong.
Is there any possibility to change it? Any ideas?
Two days ago, I installed Ubuntu 20.04 first time.
I have a slightly damaged keyboard and when I created the user, I typed the email address wrong.
Is there any possibility to change it? Any ideas?
You need run this command:
sudo usermod -a -G sudo username -c "email@example.com"
usermod username -c "email@example.com". But this will clear the name of the user as well. A cleaner way is to use chfn.
– elomage
Feb 28 '25 at 15:33
/etc/passwdbut be careful altering that file :) – Rinzwind Aug 13 '22 at 16:54chfn– Rinzwind Aug 13 '22 at 17:16