mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-08 10:23:47 +08:00
default-settings: remove default password
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> (cherry picked from commit 06992d8241b16eb654ba37ef94a8a773d9aa2d27)
This commit is contained in:
parent
314e26a473
commit
c362389de1
@ -13,9 +13,6 @@ rm -f /www/luci-static/resources/view/status/include/80_upnp.js
|
||||
|
||||
ln -sf /sbin/ip /usr/bin/ip
|
||||
|
||||
sed -i "s/# //g" /etc/opkg/distfeeds.conf
|
||||
|
||||
sed -i 's/root::0:0:99999:7:::/root:$1$V4UetPzk$CYXluq4wUazHjmCDBCqXF.:0:0:99999:7:::/g' /etc/shadow
|
||||
[ -f '/bin/bash' ] && sed -i 's|root:x:0:0:root:/root:/bin/ash|root:x:0:0:root:/root:/bin/bash|g' /etc/passwd
|
||||
|
||||
sed -i '/option disabled/d' /etc/config/wireless
|
||||
|
Loading…
x
Reference in New Issue
Block a user