I want to add a new user on a Debian server but I need to set, that it sees the home directory to be the root for security purposes.
e.g.:
new user: usr
home directory: /home/usr
root directory: /home/usr
and it should not be able to go back to /home
Is there a way to do that using useradd
? Or even manually?