How to change your username on Linux with the command-line. This is very easy indeed.

To change the username of an already created account on a UNIX or Linux system just follow this simple guide. I am changing the username mailman to mailman2. Firstly; open the /etc/shadow file with the VIM editor. homer@deep-thought ~ % sudo vim.tiny /etc/shadowhomer@deep-thought ~ % sudo vim.tiny /etc/shadow Then find the entry you are after … Read more