slitaz-tools rev 696 4.7
tazctrlbox: use MD5 password
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 01 15:12:32 2012 +0100 (2012-03-01) |
parents | 09be8c237181 |
children | dbd42e02e14b |
files | oldstuff/tazctrlbox |
line diff
1.1 --- a/oldstuff/tazctrlbox Thu Mar 01 14:50:14 2012 +0100 1.2 +++ b/oldstuff/tazctrlbox Thu Mar 01 15:12:32 2012 +0100 1.3 @@ -107,7 +107,7 @@ 1.4 <button> 1.5 <label>Change</label> 1.6 <input file icon=\"forward\"></input> 1.7 - <action>echo \"$USER:$PASSWD\" | chpasswd</action> 1.8 + <action>echo \"$USER:$PASSWD\" | chpasswd -m</action> 1.9 <action type=\"closewindow\">MANAGE_USER</action> 1.10 </button> 1.11 </hbox> 1.12 @@ -160,7 +160,7 @@ 1.13 <hbox> 1.14 <button ok> 1.15 <action>adduser -D $NEW_USER</action> 1.16 - <action>echo "$NEW_USER:$PASSWD" | chpasswd</action> 1.17 + <action>echo "$NEW_USER:$PASSWD" | chpasswd -m</action> 1.18 <action>addgroup $NEW_USER audio</action> 1.19 <action>addgroup $NEW_USER cdrom</action> 1.20 <action>addgroup $NEW_USER floppy</action>