|
Or use:
usermod -u <new UID> username
But it will leave all owned files from teh user to be owned by the old UID, not the new one.
To handle this, use something like find, with teh parameters to search for files owned by old_uid, and then use xargs to chown them to the new_uid.
|