From 5061bc643ae1e53cd22c1cf9c86b934481108090 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Mon, 8 Jun 2020 19:44:56 +0000 Subject: Move changingowner from Chapter 6 to Chapter 7 git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11905 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/changingowner.xml | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 chapter06/changingowner.xml (limited to 'chapter06/changingowner.xml') diff --git a/chapter06/changingowner.xml b/chapter06/changingowner.xml deleted file mode 100644 index 43a902821..000000000 --- a/chapter06/changingowner.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - %general-entities; -]> - - - - - Changing Ownership - - - 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. - - - Currently, the whole directory hierarchy in $LFS - is owned by the user lfs, a user - that exists only on the host system. If the directories under $LFS are kept as they are, the files are - owned by a user ID without a corresponding account. This is dangerous because - a user account created later could get this same user ID and would own all - the files under $LFS, thus exposing - these files to possible malicious manipulation. - - To avoid this issue, you could add the lfs user to the new LFS system later when - creating the /etc/passwd file, taking care to assign it - the same user and group IDs as on the host system. Better yet, change the - ownership of the $LFS/* directories to - user root by running the following - command: - -chown -R root:root $LFS/{usr,lib,var,etc,bin,sbin,lib64,tools} - - -- cgit v1.2.3-54-g00ecf