Chapter 5 - Adding the user lfs: Added "-k /dev/null" to the

useradd command to prevent /etc/skel files from coming across.
Suggested by Anderson Lizardo.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3184 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Greg Schafer 2004-01-26 02:03:22 +00:00
parent 5c8d965814
commit 9684126049
3 changed files with 7 additions and 3 deletions

View File

@ -55,6 +55,10 @@
</itemizedlist>
</listitem>
<listitem><para>January 25th, 2004 [greg]: Chapter 5 - Adding the user lfs:
Added "-k /dev/null" to the useradd command to prevent /etc/skel files from
coming across.</para></listitem>
<listitem><para>January 21st, 2004 [alex]: Chapters 2 and 6 - Making a few
extra cross references.</para></listitem>

View File

@ -313,7 +313,7 @@ work environment we'll create a new user <emphasis>lfs</emphasis> and
use this one during the installation process. As <emphasis>root</emphasis>,
issue the following commands to add the new user:</para>
<screen><userinput>useradd -s /bin/bash -m lfs
<screen><userinput>useradd -s /bin/bash -m -k /dev/null lfs
passwd lfs</userinput></screen>
<para>Now grant this new user <emphasis>lfs</emphasis> full access to

View File

@ -2,8 +2,8 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"/usr/share/docbook/docbookx.dtd" [
<!ENTITY version "CVS-2004-01-22">
<!ENTITY releasedate "January 22nd, 2004">
<!ENTITY version "CVS-2004-01-25">
<!ENTITY releasedate "January 25th, 2004">
<!ENTITY milestone "5.1">
<!ENTITY nbsp " ">