Results 1 to 2 of 2

Thread: Why does sudo command not work in chroot?

  1. #1
    Join Date
    Apr 2012

    Why does sudo command not work in chroot?

    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 sais 'sudo: command not found'.

    Also, when I try the 'su root' command my password doesn't work ('su: authentication failure'). Why is that?

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

  2. #2
    Join Date
    May 2010
    Xubuntu 14.04 Trusty Tahr

    Re: Why does sudo command not work in chroot?


    You have your paths set up correctly in the chroot environment ?

    Are all the libraries in your path ?

    That would be the first thing i would check.

    Did you chroot into the correct part of the filing system ?

    What command are you using to chroot into the system ?

    Kind regards
    Last edited by matt_symes; April 14th, 2012 at 12:16 AM. Reason: Extra thoughts
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

    Thinking about becoming an Ubuntu Member?

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts