Score:0

Permission erros on fresh installations - New to Ubuntu

pt flag

I have installed Ubunto on VirtualBox and I don't have permissions to do anything. I have reinstalled it twice and it seems the fresh installation does not provide my user with permissions.

I tried installing Nodejs using sudo apt-get install -y nodejs and did manage someone to install it, then tried installing some package in node and had no permissions of doing so.

I reinstalled and tried installing Node with files from the official website and move them into /usr/ directory(?) and had no permissions of doing so.

Any solution online that I found with sudo command ends up with: "sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set"

What do I do? I'm new to Ubuntu and Linux in general.

guiverc avatar
cn flag
You've not told us what Ubuntu product you installed (Desktop?, Server?, Core?) not what release, nor if you allocated sufficient space for the install to operation (Desktop requires more space than a Server install & we don't know if you provided the minimum requirements for the *unstated* Ubuntu product you installed), thus cannot current advice much. Please be specific with details. What Ubuntu product?, what release? Did you create sufficient disk space for your VM for that product? etc.
hr flag
It sounds like you mistakenly changed some important file ownerships - see for example [/usr/bin/sudo must be owned by uid 0 and have the setuid bit set](https://askubuntu.com/questions/452860/usr-bin-sudo-must-be-owned-by-uid-0-and-have-the-setuid-bit-set)
I sit in a Tesla and translated this thread with Ai:

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.