I want to create an account for my friend on my computer, but I don't want my friend to be able to view all my files. I saw that with OpenSSH, there is an option for that.
Inside the SSHD configuration file:
With the line:
However, the user home directory needs to be owned by
root. Is that a bad thing? Are there any consequences or repercussions if admin owns the directory?
I tagged this question for 2 distributions and FreeBSD, since I use them all. I'm wondering if maybe the requirement of
root owning the user home directory will be different between distributions and/or OS.