login.defs in 10.44 Shadow-4.0.13

Duncan Webb duncan-lfs at linuxowl.com
Tue Oct 25 08:31:38 PDT 2005

Duncan Webb wrote:

> etc/login.defs.linux seems to have been renamed to etc/login.defs, 
> therefore the build for Shadow-4.0.13 fails on the sed command that 
> generates /etc/login.defs in chapter 10.44. Shadow-4.0.13. This is a 
> change between 12 and 13
> should be:
> sed -e's@#MD5_CRYPT_ENAB.no at MD5_CRYPT_ENAB yes@' \
>    -e 's@/var/spool/mail@/var/mail@' \
>    etc/login.defs > /etc/login.defs
> Regards,
> Duncan
Small patch to write a message when shadow fails because login.defs is 
missing, it still writes the syslog message. But the user gets some 
feedback why it failed.


<cid:part1.05050700.02050003 at linuxowl.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shadow-4.0.13-missing-config.patch.bz2
Type: application/octet-stream
Size: 683 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-dev/attachments/20051025/e2b616ca/attachment.obj>

More information about the lfs-dev mailing list