addinguser: don't say "log in as lfs user"

"log in" is a specifically defined action on UNIces.  When you log in
as a user, an entry will be added into /run/utmp and /var/log/wtmp.
But when you switch to lfs with "su", this won't happen.

"man su" also describes "--login" as:

    Provide an environment similar to what the user would expect had
    the user logged in directly.

It's "similar to" logged in, not "really" logged in.

So, don't say "log in" or the users may assume they must really log in
as lfs in a VT or DM.
This commit is contained in:
Xi Ruoyao 2022-09-29 17:52:11 +08:00
parent 562062295e
commit 199d14c997
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -16,7 +16,7 @@
You could use your own user name, but to make it easier to set up a clean
working environment, we will create a new user called <systemitem
class="username">lfs</systemitem> as a member of a new group (also named
<systemitem class="groupname">lfs</systemitem>) and log in as this user during
<systemitem class="groupname">lfs</systemitem>) and run commands as &lfs-user; during
the installation process. As <systemitem class="username">root</systemitem>,
issue the following commands to add the new user:</para>