diff options
Diffstat (limited to 'chapter08/shadow.xml')
-rw-r--r-- | chapter08/shadow.xml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/chapter08/shadow.xml b/chapter08/shadow.xml index 49f2ec47c..9aa196421 100644 --- a/chapter08/shadow.xml +++ b/chapter08/shadow.xml @@ -89,12 +89,12 @@ find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;</userinput></s <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 first group number generated by useradd 1000:</para> <screen><userinput remap="pre">sed -i 's/1000/999/' etc/useradd</userinput></screen> - +--> <para>Prepare Shadow for compilation:</para> <screen><userinput remap="configure">touch /usr/bin/passwd @@ -124,13 +124,16 @@ find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;</userinput></s <para>Compile the package:</para> -<screen><userinput remap="make">make</userinput></screen> + <screen><userinput remap="make">make</userinput></screen> <para>This package does not come with a test suite.</para> <para>Install the package:</para> -<screen><userinput remap="install">make exec_prefix=/usr install</userinput></screen> + <screen><userinput remap="install">make exec_prefix=/usr install +make -C man install-man +mkdir -p /etc/default +useradd -D --gid 999</userinput></screen> </sect2> |