How do I grant root privileges to a user in Ubuntu?

Lò Ngọc

New member
How do I grant root privileges to a user in Ubuntu?
Answer
How to Add a User and Grant Root Privileges on Ubuntu 14.04
  • Step 1: Add the User. It’s just one simple command to add a user. In this case, we’re adding a user called mynewuser: adduser mynewuser. First you will be prompted to enter the user’s password (twice); do this step.
  • Step 2: Grant Root Privileges to the User. visudo. Find the following code: # User privilege specification.
 

Tìm kiếm

Back
Top