Linux How to change user UID and GID
I was running Debian for sometime and in Debian the UID starts at 1000. Now I moved to CentOS 6 and the UID starts from 500. Simply changing the UID/GID seemed like an quick way to get my file permission back in sync. Here’s how to easily change the UID and GID for a user in Linux. Check my current UID/GID [root@atom ~]# id danesh<br /> uid=500(danesh) gid=500(danesh) groups=500(danesh) Change my UID to 1000...