You can restrict and enable administrative access (sudo) to users with the Users and Groups application:
-
Click → →
-
Click and enter your password
-
Select the user who is to be given administrative access and press
-
Select the User Privileges tab
-
Check the box next to Administer the system and press

