A
A
AlexanderY2015-08-03 00:28:54
ubuntu
AlexanderY, 2015-08-03 00:28:54

Why does a new Ubuntu user get read access to any files?

There is a misunderstanding of user experience in Ubuntu.
"Virgin" server on Ubuntu 14.04.2 LTS.
I create a user: adduser userName. The directory /home/userName is created correctly.
I log in via ssh/sftp to the server under a new login and can read any files (/bin, /etc, /var, well, any in general). I can only write to my home directory (/home/userName).
I'm puzzled because previously had access to pre-configured servers, and there was limited to actions only on the home directory (I could only read and write in the home directory). Actually, I also want to achieve the same behavior on a new server. How to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nazar Mokrinsky, 2015-08-03
@nazarpc

What are you afraid of?) If the server is clean, then the user already knows what kind of environment you have and what software is installed by default.
He will not have access to critical files, for example, to / var / lib / mysql, similarly, he will not be able to read the home directory of another user by default either.
There is nothing wrong with that, set the rights to the necessary files and that's it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question