Note that in reality, all file ownerships (user & group) are recorded by uid/gid. The name just appears when you do an ls -l if(!) there are matching entries in /etc/passwd & /etc/group. Just like DNS, names are for humans only; the system always uses numbers.
If you used usermod to alter the uid, then
Quote:
-u, --uid UID
The numerical value of the user's ID. This value must be unique, unless the -o option is used. The value must be non-negative. Values between 0 and 999 are typically reserved for system accounts. Any files which the user owns and which are located in the directory tree rooted at the user's home directory will have the file user ID changed automatically. Files outside of the user's home directory must be altered manually.
|
If you did it manually (ie edited /etc/passwd) then nothing else is updated.