How To Create A User With A Custom Home Directory In Linux

preview_player
Показать описание
In this tutorial, we’re going to see how to change the default home directory of a user on Linux. By default, it is /home/username.

We’ll show how to change it for a new user, as well as move the existing content to a new location.

Command:
sudo useradd user -m -d /users/directory

#linux #tutorials #tipsandtricks #howto
Рекомендации по теме