V
V
vxzezppa2019-04-27 08:16:35
linux
vxzezppa, 2019-04-27 08:16:35

How to deal with Linux permissions?

I bought VPSku on Ubuntu, I install LEMP, I wanted to do everything wisely, using the "don't be root" principle. I just started installing Nginx, Git, etc. Now even the most banal operations require some kind of file editing to add a user to a group. Is there any way to simplify this process? Or drop everything and go to the root?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
Fixid, 2019-04-27
@Fixid

And how did you want? Competent access control is not easy and reduces comfort. You can work as root, but it's too risky.
Run commands with sudo when you need to

C
CityCat4, 2019-04-28
@CityCat4

man su
man sudo
"Don't sit under the root" is something like "don't put your fingers in the socket" :) Those who managed to do this in childhood remember unforgettable sensations

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question