Get the latest tech news
Need to modify user accounts in Linux? This is the command for you
Many Linux commands can do more than you might think. The usermod command is one such command, and it can be very handy.
For example, I use Docker a lot, and when I install it, I have to add users to the group (otherwise it won't work for them without using sudo, which can lead to security issues). If you've renamed a user account, you'll notice their home directory is still listed as the original username. If you would like to rename the user's home directory (to avoid confusion), usermod has your back.
Or read this on ZDNet