Changing user id in linux2012-02-22 · 1 min readtutorialsAs a different user executeusermod -u username find / -user ; -exec chown -h ; {} \; example:usermod -u 2179 user1 find / -user 1000 -exec chown -h 2179 {} \; Last updated on 2026-01-22Tutorial AuthorsFoivos ZakkakR&D Software EngineerFoivos (pronounced [‘fivos]) Zakkak is a Software Engineer in IBM’s (previously Red Hat’s) Java platform team working on Mandrel, GraalVM and Quarkus. ← How to create local git repositories 2012-05-15Mounting remote folders with sshfs 2012-02-21 →