How do I give a user root privileges in Ubuntu?

Kim Thu Đoàn

New member
How do I give a user root privileges in Ubuntu?
Answer
How to Add a User and Grant Root Privileges on Ubuntu 14.04
  1. 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.
  2. Step 2: Grant Root Privileges to the User. visudo. Find the following code: # User privilege specification.
 

Tìm kiếm

Back
Top