summaryrefslogtreecommitdiffstats
path: root/base/shadow/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/shadow/Pkgfile')
-rwxr-xr-xbase/shadow/Pkgfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/shadow/Pkgfile b/base/shadow/Pkgfile
index 8ce7a3801..96308a999 100755
--- a/base/shadow/Pkgfile
+++ b/base/shadow/Pkgfile
@@ -18,8 +18,8 @@ find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \;
# Disable the installation of the non french manual pages
# Instead of using the default crypt method, use the more secure MD5 method of password encryption
-sed -i 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' \
- etc/login.defs
+sed -i -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD MD5@' \
+ -e 's@/var/spool/mail@/var/mail@' etc/login.defs
./configure --sysconfdir=/etc
make