Answer the question
In order to leave comments, you need to log in
How to switch to superuser mode (sudo)?
You need to edit the nginx config in Notepad++ via ssh into WinSCP . However, the software may be different, such as WebStorm. Of course, when saving, Permission Denied is issued. What command to type in the console so that all commands are executed from sudo (there is an admin password)
Answer the question
In order to leave comments, you need to log in
Download putty
Connect to the server via ssh with your account
Then type su in the console and press Enter. When prompted for a password, enter the root password. Everyone - you are root!
So if there is a root password, log in immediately from the root and everything should be OK, isn't it? This is how I work with some of my devel servers, once in order to administer all sorts of daemons and web servers
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question