summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSibelle <sibelle at gmail dot com>2010-12-22 21:13:59 +0100
committerSibelle <sibelle at gmail dot com>2010-12-22 21:13:59 +0100
commit7a5d28216335e205dcd376fa340f0b958d155eff (patch)
tree46f587fd6b6645e59d9706d54883bae5b143d590
parentd9166a20f177599491b850e2723485ace6a5e75a (diff)
downloadnutyx-extra-7a5d28216335e205dcd376fa340f0b958d155eff.tar.gz
nutyx-extra-7a5d28216335e205dcd376fa340f0b958d155eff.tar.bz2
nutyx-extra-7a5d28216335e205dcd376fa340f0b958d155eff.tar.xz
nutyx-extra-7a5d28216335e205dcd376fa340f0b958d155eff.zip
shadow, maj Pkgfile maj encryptage
-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