diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2017-05-18 23:32:21 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2017-05-18 23:32:21 +0000 |
commit | 00abb8f1501e00263aba78e959e2a84471c15aea (patch) | |
tree | 9e5d41e1742df72f45c1a953b51d4845d07b5148 /chapter06/shadow.xml | |
parent | 1af5572aaad365433600104dfb07cdc88046cc02 (diff) |
Move library versions for presevation of debugging symbols
to packages.ent.
Update to linux-4.11.1.
Update to shadow-4.5.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11253 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/shadow.xml')
-rw-r--r-- | chapter06/shadow.xml | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml index e54c4ee54..d90210985 100644 --- a/chapter06/shadow.xml +++ b/chapter06/shadow.xml @@ -70,32 +70,6 @@ find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;</userinput></s <screen><userinput remap="pre">sed -i -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD SHA512@' \ -e 's@/var/spool/mail@/var/mail@' etc/login.defs</userinput></screen> - <para>Now fix a bug that prevents <command>useradd</command> from - setting the shell entry in the /etc/passwd file. In this case we need a - short patch, but can include it directly here without the need for a - separate file:</para> - -<screen><userinput remap="pre">echo '--- src/useradd.c (old) -+++ src/useradd.c (new) -@@ -2027,6 +2027,8 @@ - is_shadow_grp = sgr_file_present (); - #endif - -+ get_defaults (); -+ - process_flags (argc, argv); - - #ifdef ENABLE_SUBIDS -@@ -2036,8 +2038,6 @@ - (!user_id || (user_id <= uid_max && user_id >= uid_min)); - #endif /* ENABLE_SUBIDS */ - -- get_defaults (); -- - #ifdef ACCT_TOOLS_SETUID - #ifdef USE_PAM - {' | patch -p0 -l</userinput></screen> - <note> <para>If you chose to build Shadow with Cracklib support, run the following:</para> @@ -107,10 +81,6 @@ find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;</userinput></s <screen><userinput remap="pre">sed -i 's/1000/999/' etc/useradd</userinput></screen> - <para>Fix a security issue identified upstream:</para> - -<screen><userinput remap="pre">sed -i -e '47 d' -e '60,65 d' libmisc/myname.c</userinput></screen> - <para>Prepare Shadow for compilation:</para> <screen><userinput remap="configure">./configure --sysconfdir=/etc --with-group-name-max-length=32</userinput></screen> |