LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-09-2002, 09:04 AM   #1
Milkman00
Member
 
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??

Thanks!
 
Old 08-09-2002, 09:13 AM   #2
Milkman00
Member
 
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
RefriedBean
Member
 
Registered: Jun 2002
Location: N 37° 33.327 E 126° 55.650
Distribution: Gentoo, Slackware, OpenZaurus
Posts: 186

Rep: Reputation: 31
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
RefriedBean

##########UPDATE###########

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

Enjoy!

RefriedBean

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

Rep: Reputation: 15
Use this format in your /etc/passwd file:
username:x:1015:201:,,,:/home/./username:/usr/local/bin/ftponly

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
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:02 AM.

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