Is there a way to prevent a user look into another user through SSH ?

Alfred

New member
Joined
Nov 10, 2010
Messages
4
It happens that I have to give to a technical user access to her SSH space.

She logs into her space through SSH
Suppose that she knows that another user "abc" is installed on the same server
She has access to ./../abc and from there to the content of anyfile, including configuration files where she can read passwords and access to the databases.

Is there a way to prevent a user look into another user through SSH ?
 
Is there a way to prevent a user look into another user through SSH ?
A user logged in through SSH can see all files/directories for his username and his group and all other groups of which he's a member, and all files/directories which allow anyone else to look into.

For best security the user should only be a member of his own username and his own group (with the same name).

DirectAdmin by defualt creates home directories which cannot be looked into by other users.

Passwords, etc., shouldn't be in files which can be looked into by anyone.

Jeff
 
Back
Top