Installazione fun plug
- Copiare nella root directory del
Volume_1
- i files:
wget "http://www.inreto.de/dns323/fun-plug/0.5/fun_plug" wget "http://www.inreto.de/dns323/fun-plug/0.5/fun_plug.tgz"
- Riavviare il NAS
- Fare telnet all'ip del NAS
telnet allstorage
- L'utente root non ha password, impostarla
pwconv passwd
- Attivare l'utente
usermod -s /ffp/bin/sh root
- Testare il login, e poi uscire
login
exit
- Salvare la password
store-passwd.sh
- Attivare SSH
chmod a+x /ffp/start/sshd.sh sh /ffp/start/sshd.sh start
- Fare il login via SSH
ssh root@allstorage.alliance.priv
- Abilitare il login in telnet (altrimenti non chede password):
cd /ffp/start sed -i '/flags/ s@^@#@' telnetd.sh cd /tmp nohup sh /ffp/start/telnetd.sh restart
- Installazione pacchetti
cd /mnt/HD_a2 rsync -av inreto.de::dns323/fun-plug/0.5/packages . cd packages funpkg -i less-418-3.tgz mailx-12.3-1.tgz funpkg -i rsync-3.0.7-1.tgz funpkg -i screen-4.0.3-2.tgz funpkg -i sed-4.1.5-3.tgz funpkg -i shadow-4.1.2.1-1.tgz funpkg -i sudo-1.6.9p17-2.tgz tar-1.19-2.tgz vim-7.1-2.tgz funpkg -u less-418-3.tgz mailx-12.3-1.tgz funpkg -u rsync-3.0.7-1.tgz
- Abilitazione bash
funpkg -i bash-3.2-3.tgz chsh root -s /ffp/bin/bash store-passwd.sh exit