diff options
author | Xi Ruoyao <xry111@xry111.site> | 2022-09-29 17:52:11 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2022-09-29 17:52:11 +0800 |
commit | 199d14c9970b368d2f35d37610cf53d92e510373 (patch) | |
tree | 814315f4b00ee5de1f535f83e878b8800f6ca63e /chapter04 | |
parent | 562062295e86e5ddcd90efa67ff640e60c84313b (diff) |
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.
Diffstat (limited to 'chapter04')
-rw-r--r-- | chapter04/addinguser.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter04/addinguser.xml b/chapter04/addinguser.xml index 2dba785d9..c82c67557 100644 --- a/chapter04/addinguser.xml +++ b/chapter04/addinguser.xml @@ -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> |