T
T
tamtakoe2014-12-16 10:14:09
SSH
tamtakoe, 2014-12-16 10:14:09

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

4 answer(s)
S
Sergey, 2014-12-16
@bk0011m

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!

P
Pavel Shvedov, 2014-12-16
@mmmaaak

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

A
Armenian Radio, 2014-12-16
@gbg

su -

S
Sergey, 2014-12-16
@gangstarcj

You need to connect via SFTP protocol as root.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question