Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-02-2002, 04:21 PM   #1
LQ Newbie
Registered: Oct 2002
Location: Montana
Distribution: RedHat
Posts: 4

Rep: Reputation: 0
ftpchroot isn't making a difference

Hey all, I've got to figure this out!

I have this server that I'm told get up and running as a Web/FTP server- no, I know nothing of Linux and I have patches of hair missing from my head. I've worked for 4 days straight on this, and I'm about to throw the darned thing out onto the pavement!

What I've got -

Linux RedHat 7.1
wu-FTP (came with build)
Apache (came with build)

I've got Web up and running sufficiently wonderful

I've got users who can FTP into their HOME directory which I've successfuly changed to the /var/www/~website directory and they can upload and download just fine. Only problem is they can CD upwards - not too secure.

~I've tried to change the permissions using chmod (this ends up denying http access)
~I've tried to activate the ftpaccess file and adding the line "restricted-uid mailmonkey"(no matter how many times try retyping and minimizing the file, it denies FTP access completely...hmph!)
~I've created the ftpchroot file and added usernames, resarted FTP, resarted the entire server even, but it doesn't seem to make a difference whether that file is there or not. I DON'T GET IT!!!!

If you can help, and clue me in on what I'm missing here, I'd be so happy that my hair might start growing back, and this headache might go away! I'd even kiss a duck! Every helpful thing I find (believe me, I've searched high and wide) can say two completely different things, and I don't know what to do!!!!
Old 10-02-2002, 04:47 PM   #2
Registered: Sep 2002
Distribution: slack
Posts: 39

Rep: Reputation: 15
you know, one search on google with "linux ftp chroot jail" produced the following in like 2 seconds...
Old 10-02-2002, 05:58 PM   #3
LQ Newbie
Registered: Oct 2002
Location: Montana
Distribution: RedHat
Posts: 4

Original Poster
Rep: Reputation: 0
looking at that page you gave me, it looks like this restricts everyone from that directory, I NEED to be able to access the same files from the WEB, so that the WEB site admins can update their pages...

Though, I haven't actually tried this suggestion you suppose it'll do what I want? (I know, I'm just looking for an easy answer and have decided to put this down for the moment and not look at another linux box until friday....)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
What's The Difference Rick069 Linux - General 3 10-16-2005 06:42 PM
What's the difference between dominionlife Linux - Newbie 5 10-18-2004 08:26 PM
What a difference... perry General 3 12-04-2003 05:52 PM
what is the difference shanenin Linux - Software 4 10-24-2003 09:14 AM
ftpchroot and ftpd-ssl DJ_Cyberdance Linux - Networking 1 10-02-2003 12:49 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:31 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration