2

How do you change your username in Manjaro Linux?

2

Based from this answer in the Manjaro Forum:

Logoff. Switch to a tty console (Ctrl+Alt+F4).

Login as root.

Edit /etc/passwd. Replace username. Remember to save file.

nano /etc/passwd

Edit /etc/shadow. Replace username. Remember to save file.

nano /etc/shadow

Edit /etc/group. Replace username. Remember to save file.

nano /etc/group

Finally, rename your current home folder

mv /home/oldusername /home/newusername

Reboot.

reboot

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.