I am facing a strange problem while using a chroot'd 12.04 Ubuntu. When I try to run anything with sudo
I get the following error:
sudo: effective uid is not 0, is sudo installed setuid root?
If I boot on the same system I'm "chroot'ing" to sudo works as expected. What can be the cause of this? How can I fix it?
Additional info:
[user@host /]$ ls -la /usr/bin/sudo
-rwsr-xr-x 1 root root 116928 12.05.2013 08:14 /usr/bin/sudo*
To chroot I used this: http://ubuntuforums.org/showthread.php?t=1156240