Telegram- 👇 😉
-
. WIKIMERIONET
Merion Mertics , ,

CRM

3

sudo , , - .

, sudo CentOS. sudo CentOS root.

    Sudo  CentOS

Sudo

sudo CentOS, :

1.

CentOS ssh root:

ssh root@server_ip_address

2.

useradd:

useradd username

username , .

3.

passwd, :

passwd username

. , .

.

Changing password for user username.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.

4. sudo

CentOS sudo. wheel:

usermod -aG wheel username

wheel - , su sudo.


Sudo

:

su - username

sudo, sudo .

sudo [COMMAND]

, /root :

sudo ls -l /root

sudo .

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for username:

! sudo CentOS. . : .