T
T
Theory Theory2020-09-07 11:03:30
linux
Theory Theory, 2020-09-07 11:03:30

How to switch to root user?

The /var/www directory has access set to 755.
I can only create, delete via terminal every time I use sudo
how do I switch to root? not in the terminal, but in general

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Adamos, 2020-09-07
@Narbek

Just add the current user to the www-data group.
But root is not necessary, then the web server will bury itself in files for which it will not have rights.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question