How to Change or Rename Username and UID in Linux

Change or Rename Username and UID in Linux
In some cases, we need to change the username of the system or the user id (UID) of the system or both. In Linux there are lot configurations depends on user id like permissions. By using command usermod you can change the username of your system. After changing the Username of UID the changes will affect systemwide. In this tutorial, you are going to learn how to change or rename username and UID in Linux.

Prerequisites
Before you start to change or rename username and UID in Linux. You must have the non-root user account on your system with sudo privileges.

List all users in Linux
Before you going to change the username or user id of your Linux system you should know all the available users on your system.
Read More