How to find and change a user’s UID on Linux? Find the UID of a user:id -u $USER_NAME Change a user’s UID:# usermod -u $NEW_UID $USER_NAME Related posts:How to move all the files under Users for a user to another drive on Windows? How to allow non-root users on Linux to mount and unmount disks? How to change an running HDFS cluster’s replication factor? How to change the commit message of a commit in the history (not HEAD)? How to change my Linux password How to change a user’s username on Linux? How to change number of replications of certain files in HDFS? How to exclude users from GDM login screen?