更改 netgear 路由器 telnet root 密码

更改 netgear 路由器 telnet root 密码

我有一台 Netgear JNR1010 路由器,但无法更改路由器的 root 密码。路由器固件版本为 1.0.0.18

我在 Busybox 控制台中尝试了多个命令,

BusyBox v1.6.1 (2013-06-09 15:21:35 HKT) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

# chpasswd
-sh: chpasswd: not found

# <tab>
[                  grep               mkdir              siproxd
[[                 halt               mknod              sleep
arp                ifconfig           modprobe           start-stop-daemon
arping             igmpproxyv3        mount              straceroute
ash                inadyn             msntp              tar
auth               inetd              nbnslisten         tc
bing               init               nbsmtp             telnetd
brctl              insmod             nbtscan            test
busybox            ip                 netstat            tftp
cat                iptables           pc                 tftpd
cp                 iwcontrol          peanuthullc2       traceroute
date               iwpriv             ping               true
diag               kill               poweroff           udhcpc
dproxy             killall            pppd               udhcpc-discovery
echo               klogd              pppoe-discovery    udhcpd
egrep              l2tpd              pptp               udhcpplus
ethtool            logic              pptp_discovery     umount
fgrep              login              protest            upgrader
flash              logmonitor         ps                 upnp.sh
flash_test         ls                 reboot             vconfig
flush_conntrack    lsmod              ripd               watchdog
free               md5sum             rm                 wget
fuser              mesg               rmmod              wscd
getopt             mini_httpd         route              zebra
getsmaps           miniupnpd          sh

# busybox
BusyBox v1.6.1 (2013-06-09 15:21:35 HKT) multi-call binary
Copyright (C) 1998-2006   Erik Andersen, Rob Landley, and others.
Licensed under GPLv2.   See source distribution for full notice.

Usage: busybox [function] [arguments]...
   or: [function] [arguments]...

    BusyBox is a multi-call binary that combines many common Unix
    utilities into a single executable.  Most people will create a
    link to busybox for each function they wish to use and BusyBox
    will act like whatever it was invoked as!

Currently defined functions:
    [, [[, arp, arping, ash, cat, cp, date, echo, egrep, fgrep,
    free, fuser, getopt, grep, halt, ifconfig, inetd, init,
    insmod, kill, killall, klogd, linuxrc, login, ls, lsmod,
    md5sum, mesg, mkdir, mknod, modprobe, mount, netstat,
    ping, poweroff, ps, reboot, rm, rmmod, route, sh, sleep,
    start-stop-daemon, straceroute, tar, telnetd, test, tftp,
    traceroute, true, umount, vconfig, watchdog, wget

有人能帮我更改 root 密码或关闭 telnet 服务吗?我在 Web 界面中搜索了选项,但无济于事。

请注意,由于保修问题,我不想更改默认固件。

答案1

我认为你不能使用密码命令。然后你应该编辑文件密码文件 /etc/passwd或者/etc/shadow文件。或者更简单的是,您可以尝试从管理网页更改它。您应该注意,在密码文件和阴影密码是密钥的哈希值。

相关内容