Phils wrote:
I am using Linux from Scratch 7.10.
Host system is Ubuntu 16.04.

After a failed first attempt I have decided to go back to retry.
In Chapter 3.1 in noticed it states "To create this directory, execute the
following command, as user root, before starting the download session"
mkdir -v $LFS/sources.


My question is - do I logout and login as root (have set up root as ubuntu
does not allow access to root automatically) and so having to setup $LFS
and mount the drive again or do I use Sudo or something else? Also is it
only that command and log back in as my usual user and reset LFS and mount
again or do I use root from then on.

Sorry I could not find this question in the mailing list if it is there.
Maybe not using the correct search wording.

Just use 'su' without arguments. In that way, the user environment (i.e. LFS) is maintained by the root user. Alternatively you can use 'sudo -E'.

Many distros do not allow sudo without a program to execute, so in that case, use 'sudo -E bash'.

  -- Bruce


--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to