X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Fshadow;h=d8181d8aa2ee9be364e0f1ff7f31ceb4b8420937;hb=32751d7dc42c50a3dba854fcce525eb53d45efb8;hp=7242dd6a6491f38a6fa28b45315e4285176350ad;hpb=c067dad73229245fa72b560b3e745272a58bbe2f;p=hvlinux.git diff --git a/stage2/pkg/shadow b/stage2/pkg/shadow index 7242dd6..d8181d8 100644 --- a/stage2/pkg/shadow +++ b/stage2/pkg/shadow @@ -5,26 +5,19 @@ hvconfig_pre() CONFIGURE_OPTS="\ ${CONFIGURE_OPTS} \ --without-selinux" - - cd ${LFS_TMP}/${PACKAGE} - # Fix an issue with the Russian man pages: - sed -i 's/man_MANS = $(man_nopam) /man_MANS = /' man/ru/Makefile.in + cd ${LFS_TMP}/${PACKAGE} # Disable the installation of the groups program and its man page, as # Coreutils provides a better version. sed -i 's/groups$(EXEEXT) //' src/Makefile.in find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \; - # Disable the installation of Chinese and Korean manual pages, since Man-DB - # cannot format them properly: - sed -i -e 's/ ko//' -e 's/ zh_CN zh_TW//' man/Makefile.in - - # Instead of using the default crypt method, use the more secure MD5 method + # Instead of using the default crypt method, use the more secure SHA-512 method # of password encryption, which also allows passwords longer than 8 characters. # It is also necessary to change the obsolete /var/spool/mail location for user # mailboxes that Shadow uses by default to the /var/mail location used currently: - sed -i -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD MD5@' \ + sed -i -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD SHA512@' \ -e 's@/var/spool/mail@/var/mail@' etc/login.defs }