On 1/1/2020 3:40 PM, Flareon Zulu wrote:
On January 1, 2020, at 14:19, Alan Feuerbacher <[email protected]>
wrote:
>
>
>On 1/1/2020 11:08 AM, Flareon Zulu wrote:
>
>On January 1, 2020, at 11:03, Alan Feuerbacher <[email protected]>
wrote:
>
>>
>>
>>On 12/31/2019 10:34 PM, Flareon Zulu wrote:
>>
>>On December 31, 2019, at 22:05, Alan Feuerbacher
<[email protected]> wrote:
>>
>>>
>>>
>>>On 12/31/2019 6:24 PM, Flareon Zulu wrote:
>>>
>>>On December 31, 2019, at 18:15, Bruce Dubbs <[email protected]>
wrote:
>>>
>>>>On 12/31/19 4:47 PM, Alan Feuerbacher wrote:
>>>>> Another question on building LFS Version 20191222-systemd:
>>>>> In Section "5.37. Changing Ownership" there's a Note:
>>>>>
>>>>> "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."
>>>>>
>>>>> At this point in the build process I'm logged in as user lfs, having
>>>>> done so with "su - lfs" back in Section "4.3. Adding the LFS User".
>>>>> I could "exit" and get back to whatever user I was, and then do
>>>>> "su - root" or "su root" or perhaps something else.
>>>>>
>>>>> How do you recommend logging in now as user root?
>>>>>
>>>>> Sorry, I'm not fully confident that I know how a shell versus a
>>>>> login shell plays in the LFS environment.
>>>>Use 'exit' to return to the previous user. You will need to change to
>>>>the root user if you are not already there in order to do some
>>>>preliminary work. Then in Section 6.4 you will enter chroot (only
root
>>>>can run that) and will be the root user there. Being in chroot
should
>>>>be apparent from the '(lfs chroot)' part of the prompt.
>>>>To exit chroot, again use 'exit', but you will not need to do that
until
>>>>you finish the book.
>>>>Note the the difference between a login shell and a non-login
shell is
>>>>the initialization scripts that are run. See the bash man page for
>>>>details in the INVOCATION section.
>>>> -- 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
>>>
>>>Mr. Bruce, he was asking about the specific command to use, not
just about the shell. Though Mr. Alan should be looking these things
up before coming to the support list, as otherwise there may never be
any learning.
>>>
>>>If you actually read what I wrote, you'd have seen that I have
indeed carefully looked things up for myself.
>>>
>>>But some things are not written clearly -- which is why I asked for
help in understanding.
>>>
>>>To make my request perfectly clear, in the section 5.37 of the LFS
book, how does one properly login to root? With "su root" or "su -
root"? The book does not say. And since I'm fooling with LFS in order
to learn these things, I want enough information to get real
understanding -- not just a monkey-see-monkey-do answer.
>>>
>>>Alan
>>>
>>
>>Have you tried "man su" yet? Because I think everyone expects you to
do that. Before we devolve into utter flaming madness, please?
>>
>>Flareon
>>
>>Of course! I've looked at lots of man pages.
>>
>>Now please instruct me as to what, exactly, in the su man page
answers my original question.
>>
>>Also please expound on why the LFS book says to use "su - lfs" when
the su man page says this:
>>
>>"It is recommended to always use the --login option (instead its
shortcut -) to avoid side effects caused by mixing environments."
>>
>>Alan
>>
>
>That's asking for "monkey see monkey do," and frankly, you should be
able to figure it out from the man page. At this point, if you can't
do that, I will officially lose all hope for Linux.
>
>Flareon
>
>Just as I thought, you can't do what you're demanding of me.
>
>You ought to remember that the purpose of LFS is to educate --
especially to educate newbies in the ways of Linux. So when newbies
ask what experts might think of as "dumb questions", they're usually
not doing it for any reason other than they need help in understanding
what is written.
>
>As for "monkey-see-monkey-do", that's a perfectly valid way of
learning, as the U.S. military uses it. First, recruits learn by aping
what they see. Then they get some theoretical education, usually with
written material.
>
>Remember that I specifically said that I want more than
"monkey-see-monkey-do" -- I want real understanding.
>
>That's largely the way Gerard Beekmans and company have set up their
LFS written materials, and it's quite effective. Especially when
helpful people like Bruce Dubbs and Pierre Labastie give detailed
answers. I applaud them for their patience.
>
>Theory along with practical examples is the way most people learn
most effectively. The sink or swim method sucks.
>
>Alan
>
Oh, you were asking me to do something? I was pretty sure you were
asking for your hand to be held. As it is, the only reason I'm not
building another Linux is simply that I'm waiting for the next version
to come out, and it's quite overdue. Now, if you actually want help,
stop insulting the people trying to help when you're acting like you
won't help yourself.
Off to build the center console of a Lexus.
Flareon
LOL! Obviously you're a blowhard and a fraud. And you refuse to
understand what you read.
Alan
--
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