NAS D-Link DNS-320L

fun plug

fun plug dlink nas

Set sh shell, new home directory for root. Make /etc/shadow.

usermod -s /ffp/bin/sh root
mkdir -p /ffp/home/root/
sed -ie 's#:/home/root:#:/ffp/home/root:#g' /etc/passwd
pwconv

Set new password and test login:

passwd
login
wget http://wolf-u.li/u/172/ -O /ffp/sbin/store-passwd.sh
store-passwd.sh

Activate ssh

chmod a+x /ffp/start/sshd.sh
sh /ffp/start/sshd.sh start