From 199d14c9970b368d2f35d37610cf53d92e510373 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Thu, 29 Sep 2022 17:52:11 +0800 Subject: 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. --- chapter04/addinguser.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chapter04') 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 lfs as a member of a new group (also named - lfs) and log in as this user during + lfs) and run commands as &lfs-user; during the installation process. As root, issue the following commands to add the new user: -- cgit v1.2.3-54-g00ecf