From bc82645e958948a6aefd3147a0d7f712de9eaf6b Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Fri, 2 May 2003 18:20:20 +0000 Subject: Integrated Pure LFS - Phase 1 git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2490 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/changingowner.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'chapter06/changingowner.xml') diff --git a/chapter06/changingowner.xml b/chapter06/changingowner.xml index f984f47d6..2b24fecd3 100644 --- a/chapter06/changingowner.xml +++ b/chapter06/changingowner.xml @@ -2,17 +2,17 @@ Changing ownership -Right now the /static directory is owned by the lfs user. However, +Right now the /stage1 directory is owned by the lfs user. However, this user account exists only on the host system. Although you may delete -the /static directory once you have +the /stage1 directory once you have finished your LFS system, you might want to keep it around, e.g. for building more LFS systems. But if you keep the -/static directory you will end up +/stage1 directory you will end up with files owned by a user id without a corresponding account. This is dangerous because a user account created later could get this user id and -would suddenly own the /static +would suddenly own the /stage1 directory and all of the files therein. This could open the -/static directory to manipulation by +/stage1 directory to manipulation by an untrusted user. To avoid this issue, you can add the @@ -20,10 +20,10 @@ an untrusted user. the /etc/passwd file, taking care to assign it the same user and group id. Alternatively, you can (and the book will assume you do) run the following command now, to assign the contents of the -/static directory to user +/stage1 directory to user root by running the following command: -chown -R 0:0 /static +chown -R 0:0 /stage1 The command uses "0:0" instead of "root:root", because chown is unable to resolve the name "root" until glibc has been installed. -- cgit v1.2.3-54-g00ecf