Results 1 to 2 of 2

Thread: Why does sudo command not work in chroot?

  1. #1
    Join Date
    Apr 2012
    Beans
    1

    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
    Location
    Tewkesbury uk
    Beans
    7,510
    Distro
    Ubuntu Development Release

    Re: Why does sudo command not work in chroot?

    Hi

    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
    Join us on irc at #ubuntuforums. For web chat see here

    If you believe everything you read, you better not read. ~ Japanese Proverb

    Do not read newspapers on an empty stomach ~ Russian Proverb ~ BrunoLotse

Tags for this Thread

Bookmarks

Posting Permissions

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