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 2011-02-10 21:55:37

darkstorm
New member
Registered: 2008-05-14
Posts: 2

ideas for how best to mount disks for ssh access

I used to have a linux laptop that acted as an SSH/SFTP gateway to my DNS-323, using samba permissions to access 4 folders in a 'Data' folder, if you were to login using sftp with the external ftpuser account, 2 folders were read/only, 1 was read/write, and 1 was not shared (i'd have to log into the laptop manually as root and mount it with DNS-323 admin permissions)

Now I have debian lenny running and followed the guide on how to secure scp on the linux partition which resides in a folder called 'linux'. I also have the 'Data' folder which inside that folder are 4 others, 2 of which i would like to share as read only, 1 as read/write, and 1 that only the root debian account can access... What's the best way to achieve this?

I would like to have an SFTP ftpuser account have the same access as it did before. Can I prevent fun_plug from mounting the whole disk to debian on boot? can I put links in an ssh jail folder to the proper folders? should I use samba in the debian install to mount folders in the ssh jail folder to give proper user permissions?

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB