Score:1

'user ... is not allowed to execute .... as root on ... ' - even with SUDO privileges but not sure why?

ao flag

I am in the processing of installing singularity using the terminal on my Linux Mint computer (Ubuntu).

I have the following command:

sudo apt-get update

The computer then asks me to enter my password:

[sudo] password for user:

When I enter my password, the computer gives me the error:

user emre is not allowed to execute '/usr/bin/apt-get udpate' as root on spiers06 

However, I have checked that I have SUDO privileges, which my linux terminal confirms that I do, so I am unsure as to why the computer may be giving me this error.

I would be so grateful for a helping hand!

fr flag
Well, you probably should run `sudo -l` and compare with whatever user, command and machine is listed in the message `sudo` gives you...
Caledonian26 avatar
ao flag
@Tomek when I run that command it says: 'user .. may run the following commands on ...: (root) NOPASSWD: /usr/lib/linuxmint/mintUpdate/checkAPT.py' - does this mean that I am only allowed to run one command on the linux terminal?
fr flag
Yes. But it may in turn run `apt` as root which should allow you at least some apt operations. Unfortunately I am not an expert on apt, I am on rpm based distro...
Caledonian26 avatar
ao flag
ok thanks for confirming!
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.