1

My attempts at trying to create a new user on Ubuntu 15.04 desktop have been unsuccessful.

Sure, I get the new user and the login works and all seems fine. But then I can't use anything requiring sudo. The new user doesn't seem to be in the "sudo group".

How can I create a truly new user with full administration rights (install, update, etc.) ?

147pm
  • 2,165

1 Answers1

0

to give a new-user a root privilege open terminal by pressing ctrl+alt+T

then copy past this to it: visudo

search for this line:

# User privilege specification
 root ALL=(ALL:ALL) ALL

then add this line to it:

newuser ALL=(ALL:ALL) ALL 

replace the newuser with your new user-name.

it should be like this after adding that:

# User privilege specification
 root ALL=(ALL:ALL) ALL
 newuser ALL=(ALL:ALL) ALL

then exit the file by pressing ctrl+X

Press Y when asked then enter