Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-09-2002, 09:04 AM   #1
Registered: Jul 2002
Location: Tampa Bay area of FLORIDA!
Distribution: Slackware 8.1
Posts: 76

Rep: Reputation: 15
Smile FTP Security??

Quick question

I have a user setup to access my ftp. he already has an ID, password, and a directory setup in /home/

I want to make it so that is the ONLY directory he has access to. How would I do that so he could not browse my entire system??

Old 08-09-2002, 09:13 AM   #2
Registered: Jul 2002
Location: Tampa Bay area of FLORIDA!
Distribution: Slackware 8.1
Posts: 76

Original Poster
Rep: Reputation: 15
Just to clarify - I am running Slackware 8.1. I see a few REDHAT answers in the forum already posted, but cannot find the slack answer
Old 08-09-2002, 10:23 AM   #3
Registered: Jun 2002
Location: N 37 33.327 E 126 55.650
Distribution: Gentoo, Slackware, OpenZaurus
Posts: 186

Rep: Reputation: 30
Well, I am not sure how to do it for a 'normal' user, but when you use proftpd, the 'anonymous' use lives in a chrooted jail, in other words, he can't see out of his home directory. Maybe you could look in the config file and see how they did it?

Good Luck


After asking around the kind people in #proftpd on OpenProjects IRC sent me this link.



Last edited by RefriedBean; 08-09-2002 at 10:35 AM.
Old 08-10-2002, 11:10 PM   #4
Registered: Jul 2002
Location: Chicago Suburbs
Distribution: Slackware 8.0
Posts: 51

Rep: Reputation: 15
Use this format in your /etc/passwd file:

This will restrict their "root" to /home and their default login directory to /home/username.
Of course, this only works for ftp, I wish it worked for shell too, but no


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
ftp security msamuels Linux - General 3 05-31-2005 11:58 PM
Help with ftp-server security zepplin611 Linux - Security 5 07-22-2004 06:30 PM
ftp security spate Linux - Software 1 01-19-2003 06:04 PM
FTP security ! chuck77 Linux - General 4 03-05-2002 12:09 AM
FTP security vcheah Linux - Security 6 01-06-2002 04:13 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:32 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