Просмотр исходного кода

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

Greg Schafer 21 лет назад
Родитель
Сommit
9684126049
3 измененных файлов с 7 добавлено и 3 удалено
  1. 4 0
      chapter01/changelog.xml
  2. 1 1
      chapter05/chapter05.xml
  3. 2 2
      index.xml

+ 4 - 0
chapter01/changelog.xml

@@ -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>
 

+ 1 - 1
chapter05/chapter05.xml

@@ -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

+ 2 - 2
index.xml

@@ -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 " ">