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 2009-03-13 11:38:19

fandcm
New member
Registered: 2009-03-13
Posts: 3

After all the packages installed, SSH root login not in /ffp/bin/sh

I installed funplug 0.5 successfully. I also installed all the packages successfully with funpkg -i *.tgz and funpkg -u xxx.tgz (for those packages installed with funplug 0.5).

Then, upon root login via SSH, $PATH showed /bin/sh and not /ffp/bin/sh. Also, funpkg and many others would return error message indicating command not found or similar.

However, telnet login was fine and in /ffp/bin/sh.

I tried to change shell:
usermod -s /ffp/bin/sh root
or
chsh -s /ffp/bin/sh root

Both did not do the job.

Any advice?

Thanks.

Offline

 

#2 2009-04-13 01:46:43

nattuggla
New member
Registered: 2009-04-13
Posts: 2

Re: After all the packages installed, SSH root login not in /ffp/bin/sh

I registered on the forum just to help you out, as I just spent 4 hours in angst over this. :-)

Edit: MNT/HD_a2/fun_plug

Make sure the first lines includes:
#!/bin/sh
PATH=/ffp/sbin:/ffp/bin

I have NO idea how they disappeared or when, but when comparing (file, by file, by file) with a vanilla installation I found that annoying gem straight in my face. Hope it helps ya.

Offline

 

#3 2009-04-13 01:58:11

nattuggla
New member
Registered: 2009-04-13
Posts: 2

Re: After all the packages installed, SSH root login not in /ffp/bin/sh

Oh. Be careful not to change the rights or owner on the file when you edit it..

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB