I need to add special permission for new shell user.
adduser command new, the user can read all directories into shell account.
adduser user1 brings us new user which has own shell directory
Now, I need make permissions for
user1 with full access only for its corresponding
/home/user1 folder. Each time when
user1 goes into
/home folder, the user should not see anything from this folder. Same behaviour should be when
user1 goes into main shell directory where we have folders
Now when I log in as
user1 I can read all shell directories e.g. via Midnight Commander.