Sorry, user "user" is not allowed to execute '/usr/bin/apt-get update' as root on
16,324
I just solved this by reading Debian sudo page with two steps:
1) add the user to be sudo to the sudo group.
2) log out and log back in to gain that group's permissions.
Debian page said use: # adduser xsma sudo
, while I had used # vigr
and # vigr -s
.
Related videos on Youtube
![Xsmael](https://i.stack.imgur.com/vxSiX.png?s=256&g=1)
Author by
Xsmael
Updated on September 16, 2022Comments
-
Xsmael almost 2 years
I've installed Debian 7 and just executed
sudo apt-get update
and got this error:Sorry, user xsma is not allowed to execute '/usr/bin/apt-get update' as root on ACS.ACS
my user is "xsma" and "ACS" is the name of the computer.
-
user over 5 yearsThis page askubuntu.com/questions/168280/… says
sudo usermod -a -G sudo username