#2144: shadow-4.1.2
--------------------------------------+-------------------------------------
 Reporter:  [EMAIL PROTECTED]  |        Owner:  [email protected]
     Type:  task                      |       Status:  new                      
    
 Priority:  normal                    |    Milestone:  7.0                      
    
Component:  Book                      |      Version:  SVN                      
    
 Severity:  normal                    |   Resolution:                           
    
 Keywords:                            |  
--------------------------------------+-------------------------------------
Comment (by LydianKnight):

 Idiot me, you're right :)

 I tested the user and group creation, deletion, and adding groups for the
 test user, and it all works fine, so the final instructions for compiling
 and installing shadow-4.1.2 are:

 {{{
 ./configure --sysconfdir=/etc
 }}}

 {{{
 sed -i 's/groups$(EXEEXT) //' src/Makefile
 find man -name Makefile -exec sed -i 's/groups\.1 / /' {} \;
 }}}

 {{{
 sed -i -e 's/ ko//' -e 's/ zh_CN zh_TW//' man/Makefile
 }}}

 {{{
 for i in de es fi fr id it pt_BR; do
     convert-mans UTF-8 ISO-8859-1 man/${i}/*.?
 done

 for i in cs hu pl; do
     convert-mans UTF-8 ISO-8859-2 man/${i}/*.?
 done

 convert-mans UTF-8 EUC-JP man/ja/*.?
 convert-mans UTF-8 KOI8-R man/ru/*.?
 convert-mans UTF-8 ISO-8859-9 man/tr/*.?
 }}}

 {{{
 sed -i -e '[EMAIL PROTECTED]@MD5_CRYPT_ENAB yes@' \
     -e 's@/var/spool/mail@/var/mail@' etc/login.defs
 }}}

 {{{
 make
 }}}

 {{{
 make install
 }}}

 {{{
 mv -v /usr/bin/passwd /bin
 }}}

 {{{
 pwconv
 }}}

 {{{
 grpconv
 }}}

 {{{
 useradd -D -b /home
 sed -i 's/yes/no/' /etc/default/useradd
 }}}

 {{{
 passwd root
 }}}

 Plus deleting any reference to library instructions and notes in the
 shadow page, although the grpconv command complains about the non-
 existence of groud id 1000, my suggestion would be to add this:

 {{{
 groupadd -g 1000 users
 }}}

 Before the grpconv command, or after all the instructions (the command
 doesn't seem to have secondary effects whether I run it before or after
 the grpconv command)

 Except that debated subject, shadow-4.1.2 compiled and tested
 successfully.

 Julio

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2144#comment:24>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to