Change a Linux User’s Home Directory with usermod -d and -m
Change a local Linux user’s default home folder with usermod -d, move existing files with -m, and fix ownership and SELinux labels afterwards.
Change a local Linux user’s default home folder with usermod -d, move existing files with -m, and fix ownership and SELinux labels afterwards.