slitaz-vz rev 4

setup: use MD5 password
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 01 15:13:33 2012 +0100 (2012-03-01)
parents 7af7c96012c3
children 7ce131de8af6
files base-scripts/setup
line diff
     1.1 --- a/base-scripts/setup	Tue Nov 01 09:56:05 2011 +0100
     1.2 +++ b/base-scripts/setup	Thu Mar 01 15:13:33 2012 +0100
     1.3 @@ -178,7 +178,7 @@
     1.4  		if [ "$PASS1" != "$PASS2" ]; then
     1.5  			msg "Passwords don't match.\nNothing change."
     1.6  		else
     1.7 -			echo  "root:$PASS1" | chpasswd
     1.8 +			echo  "root:$PASS1" | chpasswd -m
     1.9  		fi
    1.10  	fi
    1.11  }