NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Newsat11
Sep 11, 2015Luminary
Root Access
I am in need of root access to my Readynas. It's the SSH add-on the only option? I need to change my default upload limit for PHP.
- Sep 11, 2015
On an OS6 NAS go to System > Settings > Services and enable SSH.
On a legacy ReadyNAS you will need to install the EnableRootSSH add-on.
Any way you get root access has the same support implications.
Newsat11
Sep 12, 2015Luminary
I'm new to having to log in through SSH. None of the command seem to be working after login. I am trying to navigate to the config.php file and make changes. Can you suggest any tutorials or have any advice?
- StephenBSep 12, 2015Guru - Experienced User
Generally it is risky to use ssh on the NAS if you don't understand what the commands do.
What commands are you trying to enter?
In your case, you could copy the config file to a share, and then use notepad++ on a PC to edit it. (notepad won't work, you want a tool that maintains linux end-of-line conventions). That would be easier than attempting to use vi.
- Newsat11Sep 13, 2015Luminary
Hmmm. Maybe I missed something. I am trying to copy the config file to share and make edits. I don't see the directory where it is stored. It was my understanding the only way to get to the directory was throught SSH? Is that incorrect? Truthfully there may be a number of files I need to edit. I need edit the Moodle standard.php file as well. I have been treking down this road in an effort to gain access to all the files for ReadyNAS plug-ins. Can you help with that?
- StephenBSep 13, 2015Guru - Experienced User
Newsat11 wrote:
Hmmm. Maybe I missed something. I am trying to copy the config file to share and make edits. I don't see the directory where it is stored. It was my understanding the only way to get to the directory was throught SSH? Is that incorrect?
Most of the app data is in /data/.apps (which is also mounted as /apps). You can see /apps only with ssh, but you can see /data/.apps if you mount the /data volume as a drive letter on your pc. For instance
net use z: \\nasname\data /user:admin password
However, the files you are looking for might be somewhere else (depending on the app install). I don't have php installed on my os6 systems, so I'm not sure where they are put.
If you do find the files in /data/.apps (or if you copy them to a share for editing), make sure you edit with notepad++ and be careful to preserve linux formatting.
Related Content
NETGEAR Academy

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