tazpanel rev 118
settings.cgi: Log passwd change and avoid message before xHTML header
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 15 12:14:21 2011 +0200 (2011-04-15) |
parents | b38c8a12a574 |
children | 4c348c1d521e |
files | settings.cgi |
line diff
1.1 --- a/settings.cgi Fri Apr 15 12:11:44 2011 +0200 1.2 +++ b/settings.cgi Fri Apr 15 12:14:21 2011 +0200 1.3 @@ -55,7 +55,7 @@ 1.4 Delete*) deluser $user ;; 1.5 Lock*) passwd -l $user ;; 1.6 Unlock*) passwd -u $user ;; 1.7 - Change*) echo "$user:$(GET password)" | chpasswd ;; 1.8 + Change*) echo "$user:$(GET password)" | chpasswd | log ;; 1.9 esac 1.10 done 1.11 done ;;