NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
chopin70
Nov 08, 2020Virtuoso
Help: locked out from SSH access as root while trying to disable root access as SSH
Hi, I wanted to disable SSH root login and only enable it for the admin user I had admin user properly setup and with SSH shell enabled. I tested and admin user was able to escalate to root by s...
- Nov 08, 2020
chopin70 wrote:
In tech support i have ssh root access ? I did not find info on how to proceed once in tech mode
Thank you againYou connect with telnet (not ssh). The user name is root, the password is infr8ntdebug.
Once logged in, you enter
# rnutil chroot
to start raid, and chroot.
Note the data volume isn't mounted (there are some additional steps needed to do that). But this should let you undo the change to the passwd file.
StephenB
Nov 08, 2020Guru - Experienced User
chopin70 wrote:
I wanted to disable SSH root login and only enable it for the admin user
Most things you'd want to change would require root access anyway (and you can mess things up badly if you forget to sudo). Personally I wouldn't have done this.
chopin70 wrote:
... the guide is dated 2011
OS-6 NAS came out in 2013, so that guide would have been either for NV+ (4.1.x firmware) or Ultra/Pro (4.2.x firmware). No idea on how it would apply to OS-6.
chopin70 wrote:
Please any one help me reset the access as it is now lost. I will try OS reinstall, but I really want to avoid a hard reset :-(
If the OS reinstall doesn't restore access, you can boot up in tech support mode, and undo your change to the passwd file.
chopin70
Nov 08, 2020Virtuoso
In tech support i have ssh root access ? I did not find info on how to proceed once in tech mode
Thank you again
Thank you again
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!