On Fri, 17 Apr 2009 00:00:00 -0600, in lfs-support
Digest, Vol 1688, Issue 1, I asked
>> > Which is the better choice, [ sudo ] -i or -s?
[ ... ]
Trent Shea responded
>> The LFS variable is really just for convenience, I would suggest manually
>> setting it when you've reached a root shell
On Thu, Apr 16, 2009 at 02:09:51PM -0600, Trent Shea wrote:
> On Thursday 16 April 2009 13:19:56 stencil wrote:
>
> > Which is the better choice, -i or -s? And if it is to be
> > -i, is the LFS 4.4 procedure the best way of ensuring that
> > $LFS is set to /mnt/lfs, or should the $LFS specificat
On Thursday 16 April 2009 13:19:56 stencil wrote:
> Which is the better choice, -i or -s? And if it is to be
> -i, is the LFS 4.4 procedure the best way of ensuring that
> $LFS is set to /mnt/lfs, or should the $LFS specification be
> the *only* change made to root's native environment?
I don't
LFS Chapter 5.34 advises
## The commands in the remainder of this book
##must be performed while logged in as user root
## and no longer as user lfs. Also, double check
## that $LFS is set in root's environment.
The orthodox Ubuntu way of acting as root is to prepend
'sudo' to each command. I