aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorGreg Schafer <greg@linuxfromscratch.org>2003-11-14 23:54:33 +0000
committerGreg Schafer <greg@linuxfromscratch.org>2003-11-14 23:54:33 +0000
commit638a816e6a6768f205044be7f8839bff036f4814 (patch)
treec127251bf08ce68308b12657fcea00385a4c11b3 /chapter06
parent2b07134fa88b96c50c23d5cd4d375634021584e5 (diff)
Added command to create /etc/default directory to allow the -D option of useradd to work properly.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3090 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/shadowpwd.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/chapter06/shadowpwd.xml b/chapter06/shadowpwd.xml
index 7aa21651f..aeaefac1c 100644
--- a/chapter06/shadowpwd.xml
+++ b/chapter06/shadowpwd.xml
@@ -105,6 +105,11 @@ pointing to a non-existent file), remove it:</para>
<screen><userinput>ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so
ln -sf ../../lib/libmisc.so.0 /usr/lib/libmisc.so</userinput></screen>
+<para>The -D option of the <filename>useradd</filename> program requires this
+directory for it to work properly:</para>
+
+<screen><userinput>mkdir /etc/default</userinput></screen>
+
<para>Coreutils has already installed a <userinput>groups</userinput> program
in <filename>/usr/bin</filename>. If you wish, you can remove the one
installed by Shadow:</para>