aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/shadow.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/shadow.xml')
-rw-r--r--chapter06/shadow.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml
index 0f30426d8..8742bda28 100644
--- a/chapter06/shadow.xml
+++ b/chapter06/shadow.xml
@@ -72,6 +72,11 @@ find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \;</userinput></scr
<screen role="nodump"><userinput>sed -i 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' etc/login.defs</userinput></screen>
</note>
+ <para>Make a minor change to make the default useradd consistent with the LFS
+ groups file:</para>
+
+<screen><userinput remap="pre">sed -i 's/1000/999/' etc/useradd</userinput></screen>
+
<para>Prepare Shadow for compilation:</para>
<screen><userinput remap="configure">./configure --sysconfdir=/etc</userinput></screen>