Why does the sudo command not work in chroot?

Posted by katarina on Ask Ubuntu See other posts from Ask Ubuntu or by katarina
Published on 2012-04-10T09:48:56Z Indexed on 2012/04/10 23:44 UTC
Read the original article Hit count: 231

Filed under:
|

I just installed a 32-bit chroot to run on my 64-bit system. In the chroot environment, the sudo command doesn't work, it says

sudo: command not found

Also, when I try the su root command, my password doesn't work (su: authentication failure). What password do they want?

I'm quite new to Ubuntu, so actually I don't really know what I'm doing. I am just trying to follow instructions.


I solved this particular problem simply by starting the chroot by the command:

katarina@ubuntu:~$ schroot -c oneiric_i386 -u root

instead of the one I used the first time:

katarina@ubuntu:~$ schroot -a

I still have some other problems, but I guess that's not for this question.

© Ask Ubuntu or respective owner

Related posts about sudo

Related posts about chroot