From 1fd5d19b67463e496ac4fbd82306677c615cf028 Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Sat, 19 Jun 2004 20:48:04 +0000 Subject: Add user lfs to group lfs (fixes bug #856) git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3820 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter04/addinguser.xml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'chapter04') diff --git a/chapter04/addinguser.xml b/chapter04/addinguser.xml index 0a2688efc..c0dc9ad67 100644 --- a/chapter04/addinguser.xml +++ b/chapter04/addinguser.xml @@ -11,11 +11,13 @@ can damage or even wreck your system. Therefore we recommend that you build the packages in this chapter as an unprivileged user. You could of course use your own user name, but to make it easier to set up a clean -work environment we'll create a new user lfs and +work environment we'll create a new user lfs as a +member of a new group (also named lfs) and use this one during the installation process. As root, -issue the following command to add the new user: +issue the following commands to add the new user: -useradd -s /bin/bash -m -k /dev/null lfs +groupadd lfs +useradd -s /bin/bash -g lfs -m -k /dev/null lfs The meaning of the switches: @@ -27,6 +29,12 @@ issue the following command to add the new user: lfs. + +-g lfs +This adds user lfs to group +lfs + + -m This creates a home -- cgit v1.2.3-54-g00ecf