[lfs-support] Run as root ??

Bruce Dubbs bruce.dubbs at gmail.com
Thu Aug 30 09:02:15 PDT 2012

Mikie wrote:
> Hello all,
> Certain commands require that I run as root but after chroot'ing sudo is no longer availible.
> Is there a way to do this?
> OpenSSL in BLFS has this command which must be run as root:
> make MANDIR=/usr/share/man install
> install -v -d -m755 /usr/share/doc/openssl-1.0.1c
> cp -v -r doc/{HOWTO,README,*.{txt,html,gif}}      \
>      /usr/share/doc/openssl-1.0.1c

When you chroot using LFS instructions, you *are* root in the target system.

   -- Bruce

More information about the lfs-support mailing list