Search This Blog

Friday, 19 August 2016

ADD NEW USER IN UBUNTU AND GIVE RIGHTS IN Ubuntu Linux

ADD NEW USER IN UBUNTU AND GIVE RIGHTS


Sign in as root user and then add new user by following steps,


  1.  adduser newusername

    Give password to newuser
  2. To grant access rights use the following command,

    sudo visudo

    this will give the following script,

    root ALL= (ALL:ALL) ALL


    see the command pattern and add your new user ,
          root ALL= (ALL:ALL) ALL

          newuser ALL= (ALL:ALL) ALL

No comments:

Post a Comment

Linux Partitioning Disk & Formatting commands

Linux Partitioning Disk & Formatting commands fdisk man fdisk pi@rasberrypi ~$ sudo fdisk -l