DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-02-24 14:55:04

acglj
Member
Registered: 2007-06-30
Posts: 9

SSH install = warranty void?

Hi,
to install ssh it is necessary to store the root password in the flash (the same for telnet with password).  Does it mean that you loose your warranty because some records inside flash mem. are modified?

Jacek

Offline

 

#2 2008-03-05 00:06:52

orbitaudio
Member
From: Brisbane, Australia
Registered: 2008-01-23
Posts: 25

Re: SSH install = warranty void?

Depends on how you install ssh.  If you use the funplug method, you don't actually change the flash memory.  A new debian system is installed on the hard drive, and that is where ssh and all your passwords will be stored.

Offline

 

#3 2008-03-05 03:08:32

acglj
Member
Registered: 2007-06-30
Posts: 9

Re: SSH install = warranty void?

Thanks for replay.
BUT, according to fonz funplug readme:
"To make password changes permanent (i.e. survive reboots), the
changed password files must be written to flash memory. A script is
included for that purpose. After running passwd or smbpasswd, run:
  store-passwd.sh"
So, it seems that even for funplug the flash has to be modified. Store-passed.sh contains

mount -t minix /dev/mtdblock0 /sys/mtd1
cp -f /etc/passwd /sys/mtd1/.
cp -f /etc/group /sys/mtd1/.
cp -f /etc/shadow /sys/mtd1/.
cp -f /etc/samba/smbpasswd /sys/mtd1/.

and

mount -t minix /dev/mtdblock1 /sys/mtd2
cp -f /etc/passwd /sys/mtd2/.
cp -f /etc/group /sys/mtd2/.
cp -f /etc/shadow /sys/mtd2/.
cp -f /etc/samba/smbpasswd /sys/mtd2/.

Looks like two flash banks with configuration.

Offline

 

#4 2008-03-05 08:09:43

jayas
Member
Registered: 2008-01-24
Posts: 151

Re: SSH install = warranty void?

Hello,

Have a look at my script here (http://dns323.kood.org/forum/viewtopic. … 592#p11592) on how to do this at boot time without worrying about updating flash yourself.

One way to propagate any updates you make to memory password persistent is to use the web interface and update any user password.

Jaya


H/W=B1 F/W=1.04; RAID1: SAMSUNG HD501LJ T166 (500GB, SATA 3.0Gb/s 16MB)

Offline

 

#5 2008-03-06 09:51:09

acglj
Member
Registered: 2007-06-30
Posts: 9

Re: SSH install = warranty void?

Thanks,
I like this approach.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB