From 6b07ba77d5b76c3a68ac65756394a4cddf85dc6e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 4 Feb 2006 01:35:14 +0000 Subject: [PATCH] update webif for last busybox httpd password change SVN-Revision: 3123 --- openwrt/package/webif/files/usr/lib/webif/webif.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openwrt/package/webif/files/usr/lib/webif/webif.sh b/openwrt/package/webif/files/usr/lib/webif/webif.sh index 9208086ecb..7ecf0882fe 100644 --- a/openwrt/package/webif/files/usr/lib/webif/webif.sh +++ b/openwrt/package/webif/files/usr/lib/webif/webif.sh @@ -191,8 +191,8 @@ EOF apply_passwd() { case ${SERVER_SOFTWARE%% *} in busybox) - echo -n '/cgi-bin/webif:' > /etc/httpd.conf - grep root /etc/passwd | cut -d: -f1,2 >> /etc/httpd.conf + echo '/cgi-bin/webif:root:$p$root' > /etc/httpd.conf + echo '/cgi-bin/webif:admin:$p$root' >> /etc/httpd.conf killall -HUP httpd ;; mini_httpd/*) -- 2.30.2