How do I change to root user in Centos?

Ngô Thị Vân

New member
How do I change to root user in Centos?
Answer
Steps to Create a New Sudo User
  1. Log in to your server as the root user. ssh
    [email protected]
    _ip_address.
  2. Use the adduser command to add a new user to your system. Be sure to replace username with the user that you want to create.
  3. Use the usermod command to add the user to the wheel group.
  4. Test sudo access on new user account.
 

Tìm kiếm

Back
Top