Netgear

Allowing ssh access to ReadyNAS RN312

After creating a few new users on the RN312, using the web interface provided with the device, I noted that none of the users could ssh into the NAS.

Turns out the new users are created without a default shell, resulting in a successful ssh login, followed by a terminated connection. No good.

For example, a user named charlie would have something like the following entry in the /etc/passwd file. Note the final bold characters:

charlie:x:100:102:[email protected]:/home/charlie:/bin/false

Change this to

charlie:x:100:102:[email protected]:/home/charlie:/bin/bash

Charlie should now be able to ssh into the NAS. By the way, you HAVE set up ssh keys for your users, right… Way more secure than plan text passwords, and a lot more convenient…

Göran Sander Stockholm, Sweden

Qlik Sense consultant and toolmaker at Ptarmigan Labs. Ten years at Spotify, Qlik Luminary and Partner Ambassador, author of the open source Butler tools.

All posts by Göran Sander
Keep reading

More about

Netgear

ReadyNAS RN312 + 8GB RAM = FAIL

My RN312 has worked flawlessly since the upgrade from the standard 2 GB RAM to 4 GB ditto. I would however like to run some memory intensive applications on the NAS, so an upgrade to 8GB would be nice. Turns out this is not as easy – might not even be

1 min read
Netgear

Netgear RN312 firmware upgrade 6.0.8 to 6.1.2

Seems Netgear just released firmware version 6.1.2 for those products that support the new UI (I believe UltraNAS and other non-Intel based devices does not get the benefits of the new version 6 and above firmware – or maybe they have reconsidered – not sure). Updating is always a

1 min read
Netgear

Moving CrashPlan cache and log directories to new locations

As discussed in a previous post, the ReadyNAS might run out of disk space on the 4 GB root partition if you install software other than that provided by NetGear. In my case it was CrashPlan’s cache and log files that were filling up the root partition, with warning

3 min read