R
R
romanwb2014-01-27 09:44:52
linux
romanwb, 2014-01-27 09:44:52

How for Linux users to set the rights to their folder and at the same time authorization by keys worked?

So that users (their groups) can see only their folders, I do sudo chmod 750 /home/*
I go under the user, access to other users is prohibited (which is required).
But I need ssh keys to work, in this situation the system cannot get into the user's folder, as a result, get to the keys.
I change to sudo chmod 757 /home/* - authorization works, but users can see each other's folder structures.
Is there a way to combine both prohibition and authorization?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DancingOnWater, 2014-01-27
@romanwb

Add sshd to all user groups

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question