DBWeinstein
DBWeinstein

Reputation: 9509

name is not in the sudoers file: fedora for virtualbox guest addition on max OSX

i'm trying to run the following program using on my VM using VirtualBox (i'm on a mac running OS X and the VM is running fedora):

VBoxLinuxAddiitons.run

I keep getting an error message saying user is "not in the sudoers file."

This whole thing is an effort to change the screen resolution on my VM.

Do I need to change my password, or add a new one? Not really sure what to do here.

Upvotes: 0

Views: 1567

Answers (1)

mjc
mjc

Reputation: 26

  1. Log in to your VM as root.
  2. run visudo
  3. Add a line yourusername ALL=(ALL) ALL

Alternatively, you could just run VBoxLinuxAdditions.run script while logged in as root.

Upvotes: 1

Related Questions