R
R
rullers2015-08-22 16:29:02
ubuntu
rullers, 2015-08-22 16:29:02

Without using sudo, how to save the edited file in the console with root rights?

How else, without using sudo su, can I save the edited sshd_config file to the user in the console with root rights?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
rullers, 2015-08-26
@rullers

Somewhere there was an error, I deleted the server, installed a new one and everything works both under rootom and under a simple user

D
Dmitry, 2015-08-22
@zmeyjr

1. why should the user do this?
2. Give permission to edit
The second is better not to do.

P
Puma Thailand, 2015-08-22
@opium

There's no way anyone could hack the server
Boot into rescue mod and fix this file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question