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:21sudo
group. Trypkexec whoami
, and see if you can run the command. If you can, you can simply runpkexec adduser "$USER" sudo
to fix this. Otherwise you'll have to reboot in the recovery mode and add your user to thesudo
group from the recovery mode's root shell. – kos Nov 30 '15 at 12:52