wok-current rev 11950
cyrus-imapd: use MD5 password
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 01 15:11:45 2012 +0100 (2012-03-01) |
parents | db244c5fb7cd |
children | 3172c04fc17e |
files | cyrus-imapd/receipt |
line diff
1.1 --- a/cyrus-imapd/receipt Thu Mar 01 12:18:12 2012 +0100 1.2 +++ b/cyrus-imapd/receipt Thu Mar 01 15:11:45 2012 +0100 1.3 @@ -50,7 +50,7 @@ 1.4 if ! grep -q cyrus $1/etc/passwd; then 1.5 echo -n "Adding user cyrus..." 1.6 chroot $1/ adduser cyrus -D -H -S -h /tmp 1.7 - chroot $1/ sh -c 'echo "cyrus:cyrus" | chpasswd > /dev/null' 1.8 + chroot $1/ sh -c 'echo "cyrus:cyrus" | chpasswd -m > /dev/null' 1.9 status 1.10 fi 1.11 # addgroup mail if needed