NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

diabeticlefty's avatar
Jun 27, 2024
Solved

Accessing root for ReadyNAS 3312

Model: ReadyNAS 3312

Firmware: 6.10.10

 

I am trying to login to my ReadyNAS 3312 as root to grant my admin account the ability to cd to some of my shares (necessary for an rsync operation I am doing). I've read where the root password matches the admin password, but my admin password does not work for the root account SSH login.

 

Is there any way to actually login as root (or to set the root password)? I'm considering traveling to my data center and doing the push-button password reset on the unit to see if I can get admin and root to align (as I've read in other articles), but I'd really like to avoid doing that if possible. 

 

As an alternative, I could use sudo, but I haven't been able to locate the path where sudo is located on the filer (if at all).

 

admin@<NAS hostname>:~$ id
uid=98(admin) gid=98(admin) groups=98(admin),27(sudo),42(shadow)

 

admin@<NAS hostname>:~$ cat /etc/passwd (heavily truncated)
root:x:0:0:root:/root:/bin/bash

admin:x:98:98::/home/admin:/bin/bash


  • diabeticlefty wrote:

    haven't been able to locate the path where sudo is located

     


    Tha't because it's not there.

     


    diabeticlefty wrote:

     

    Is there any way to actually login as root (or to set the root password)? 


    Try changing the admin password from the web ui, and then see if you can log in as root.using the new password.

2 Replies

Replies have been turned off for this discussion
  • StephenB's avatar
    StephenB
    Guru - Experienced User

    diabeticlefty wrote:

    haven't been able to locate the path where sudo is located

     


    Tha't because it's not there.

     


    diabeticlefty wrote:

     

    Is there any way to actually login as root (or to set the root password)? 


    Try changing the admin password from the web ui, and then see if you can log in as root.using the new password.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More