How do I give a user sudo access?

Kim Trang

New member
How do I give a user sudo access?
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 sudo group.
  4. Test sudo access on new user account.
 

Tìm kiếm

Back
Top