Techie Hints

A place where to find tech solution

User Creation on Ubuntu.

 

sudo adduser techiehints

if you want to give sudo accessibility follow the simple procedure as below.

sudo visudo

#add techiehints ALL=(ALL:ALL) ALL under the line for root ALL=(ALL:ALL) ALL

root ALL=(ALL:ALL) ALL
techiehints ALL=(ALL:ALL) ALL

ctrl O , edit line ctrl x

After this you can login and test as created user:

#enter created password in step 1.

sudo login techiehints

# enter created password in the above step. once you see shell prompt you are logged in as created user. Here as techiehints.

#test the sudo permissions by executing

sudo apt-get update

# if the above command line executed successfully. you’re confirmed that you have given Admin access to created user.

 

%d bloggers like this: