Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Setting up a FTP server on a old 474mhz box.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Hydraulix
Guru
Guru


Joined: 12 Dec 2003
Posts: 447

PostPosted: Sun Mar 05, 2006 6:53 pm    Post subject: Setting up a FTP server on a old 474mhz box. Reply with quote

Hey everyone,


I was going to use Fedora for this box since it's pretty old. But was unhappy with the way everything was laid out. So I'm going back to my distro of choice. I'm still installing the base system as I type but I have some questions. First let me give you some info about the box....


AMD-K6 3D Processor 474mhz

512MB

20GB drive

Behind a linksys router.

Reiserfs for the filesystem

Very old. :)

Now this box isn't going to be used all the time. It's just something I created for me and a couple of friends. But it is going to be up 24/7/365. I want to create accounts for my friends and only have them access the /ftpfiles partition. I don't want them to access or read-only the rest of the system. I won't have an anonymous account. And I want to use sftp. Also, I don't want them to be able to delete the files that are on the server. I've read a couple docs and searched around but I'm still trying to find a simple and VERY SECURE way to do this.

I'm just trying to get some ideas here. So my final question is how would you set this box up?
_________________
It is the fate of operating systems to become free.
- Neal Stephenson
Back to top
View user's profile Send private message
nlindblad
Guru
Guru


Joined: 30 Jun 2005
Posts: 476
Location: Lund, Sweden

PostPosted: Sun Mar 05, 2006 7:00 pm    Post subject: Reply with quote

I'd use openssh's chroot USE-flag, that way you can chroot users into an environment holding the material you want them to fetch mounted read-only.

Also, I'd set up a restricted shell for those users limiting them to SCP only.
_________________
Please provide detailed tracebacks and your emerge --info when posting compile errors.
Add [SOLVED] to the thread's topic if you feel that your question has been anwered or your problem is solved.
Back to top
View user's profile Send private message
someguy
Guru
Guru


Joined: 10 Jul 2003
Posts: 433
Location: (-_-) .::OH_WELL::. (-_-)

PostPosted: Sun Jun 18, 2006 11:40 am    Post subject: Reply with quote

im using proftpd with ip based acl that is built into it

its simple its like ALLOW from ip.add.re.ss ;
deny from all; or some crap like that
_________________
print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
while [ 1 ] ; do echo "*" | telnet ip.of.print.er 9100 ; done
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum