error: "effective uid is not root"

Discussions related to using the OSE version of VirtualBox.

error: "effective uid is not root"

Postby amazon10x » 19. Sep 2008, 21:44

I just finished compiling vbox from svn via "kmk all" then "make install" in the "bin/src" directory. I've also chmod'd /dev/vboxdrv to 666. However, when I try to run virtual box I get the following error about not being root.

Code: Select all   Expand viewCollapse view
user@pluto:~/vbox/out/linux.x86/release/bin$ LD_LIBRARY_PATH=. ./VirtualBox
VirtualBox: SUPR3HardenedMain: effective uid is not root (euid=1000 egid=100 uid=1000 gid=100)
amazon10x
 
Posts: 2
Joined: 19. Sep 2008, 21:28

Postby amazon10x » 20. Sep 2008, 22:28

Found the issue. I needed to configure with the switch --disable-hardening
amazon10x
 
Posts: 2
Joined: 19. Sep 2008, 21:28

Postby KuleRucket » 24. Feb 2009, 12:01

amazon10x wrote:Found the issue. I needed to configure with the switch --disable-hardening


Thank for sharing that. I had the same problem and it's working now.
KuleRucket
 
Posts: 10
Joined: 15. Jan 2009, 15:57

Postby Sasquatch » 24. Feb 2009, 23:33

The executable should be SUID root. You do this by executing chmod 4755 /path/to/executable
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re:

Postby kiwi » 14. Jun 2013, 20:35

amazon10x wrote:Found the issue. I needed to configure with the switch --disable-hardening

hi amazon10x, I have the same problem. As i'm a newbie so I do not understand what "--disable-hardening" is. Can you tell me a detailed way to do that :)
kiwi
 
Posts: 6
Joined: 30. May 2013, 15:55

Re: error: "effective uid is not root"

Postby Perryg » 14. Jun 2013, 21:13

kiwi wrote:
amazon10x wrote:Found the issue. I needed to configure with the switch --disable-hardening

hi amazon10x, I have the same problem. As i'm a newbie so I do not understand what "--disable-hardening" is. Can you tell me a detailed way to do that :)

Perhaps you should simply create your own thread and explain what it is you are trying to do. This thread is 4 years old and really wouldn't necessarily apply now.

Locking to prevent further discussion on an out dated topic.
Perryg
Site Moderator
 
Posts: 34373
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX


Return to VirtualBox OSE

Who is online

Users browsing this forum: No registered users and 1 guest