I would like to install git but when I type the command:
sudo apt-get install git
I am getting the error:
iiit is not in the sudoers file. This incident will be reported.
The output of groups is:
iiit adm dialout cdrom dip plugdev lpadmin sambashare
groups– A.B. Nov 30 '15 at 12:21sudogroup. Trypkexec whoami, and see if you can run the command. If you can, you can simply runpkexec adduser "$USER" sudoto fix this. Otherwise you'll have to reboot in the recovery mode and add your user to thesudogroup from the recovery mode's root shell. – kos Nov 30 '15 at 12:52