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.
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.
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
.
sudo usermod -a -G sudo username
–
Debut In linux, For any other linux distribution, give the command in terminal`
sudo visudo It gives super access to look codes of /usr/sbin/ (dir) go down, you can initialise any your own commands,file access,group and user privilege without root access initialise like this "(Your queries) ("ALL=(ALL:ALL) ALL " ,"You can costemize by your own needs" )
`
© 2022 - 2024 — McMap. All rights reserved.
sudo
)? – Sex