aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/shadow.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml
index e9028a991..210d90bf3 100644
--- a/chapter06/shadow.xml
+++ b/chapter06/shadow.xml
@@ -43,6 +43,12 @@
command below.</para>
</note>
+ <para>Fix a bug in the <command>useradd</command> and
+ <command>usermod</command> programs which prevent them from accepting group
+ names rather than group ID numbers to the <option>-g</option> option:</para>
+
+<screen><userinput>patch -Np1 -i ../&shadow-useradd-patch;</userinput></screen>
+
<para>Prepare Shadow for compilation:</para>
<screen><userinput>./configure --libdir=/lib --sysconfdir=/etc --enable-shared --without-selinux</userinput></screen>