How do I give root permission to user in Centos?

How do I give root permission to user in Centos?
Answer
Follow the steps below to create a sudo user on your CentOS server.
  1. Start by logging in to your CentOS server as the root user. ssh
    [email protected]
    _ip_address.
  2. Create a new user account using the useradd command. useradd username.
  3. Use the passwd command to set a password for the new user.
  4. Add the new user to the wheel group.
Photo in the article by “Wikimedia Commons”
Code:
https://commons.wikimedia.org/wiki/File:Baltix-Linux-Education-Mokslui-desktop.png
 

Tìm kiếm

Back
Top