tazpanel diff settings.cgi @ rev 282
New icon for Tazpanel (add SVG format)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 24 14:47:21 2012 +0100 (2012-03-24) |
parents | 904ff00b951d |
children | 72e9955ebdff |
line diff
1.1 --- a/settings.cgi Fri Feb 24 15:19:20 2012 -0500 1.2 +++ b/settings.cgi Sat Mar 24 14:47:21 2012 +0100 1.3 @@ -37,7 +37,7 @@ 1.4 Delete*) deluser $user ;; 1.5 Lock*) passwd -l $user | log ;; 1.6 Unlock*) passwd -u $user | log ;; 1.7 - Change*) echo "$user:$(GET password)" | chpasswd | log ;; 1.8 + Change*) echo "$user:$(GET password)" | chpasswd -m | log ;; 1.9 esac 1.10 done 1.11 done ;; 1.12 @@ -49,7 +49,7 @@ 1.13 passwd=$(GET passwd) 1.14 if [ -n "$user" ]; then 1.15 adduser -D -s /bin/sh -g "SliTaz User" -G users -h /home/$user $user 1.16 - echo "$user:$passwd" | chpasswd | log 1.17 + echo "$user:$passwd" | chpasswd -m | log 1.18 for g in audio cdrom floppy video tty 1.19 do 1.20 addgroup $user $g