LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-05-2003, 01:51 PM   #1
Crunch
Member
 
Registered: Feb 2003
Location: York, PA
Distribution: Slackware, FreeBSD, OpenBSD
Posts: 162

Rep: Reputation: 30
securing ftp


Okay, I have an FTP up right now, and I want to make it so that when ever ou connect you cannot browse other directories but your own, would any one be able to provide me any tips on how to do so?
 
Old 08-05-2003, 02:12 PM   #2
cyph3r7
Member
 
Registered: Apr 2003
Location: Silicon Valley East, Northern Virginia
Distribution: FreeBSD,Debian, RH, ok well most of em...
Posts: 238

Rep: Reputation: 30
depending on what falvor you are running the configs are little different but all act the same sorta. Anyway without know which ftp util you are using all I can do is be generic and say that in the conf file for the ftp server should contain a stanza that disables anonymous and can set default root locations. In proftp it looks like this:

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot ~
 
Old 08-05-2003, 02:23 PM   #3
Crunch
Member
 
Registered: Feb 2003
Location: York, PA
Distribution: Slackware, FreeBSD, OpenBSD
Posts: 162

Original Poster
Rep: Reputation: 30
Do you know how i can find out what ftp type i am using? (i'm new with this security thing) and uh, where would the config file be found?
 
Old 08-05-2003, 02:53 PM   #4
cyph3r7
Member
 
Registered: Apr 2003
Location: Silicon Valley East, Northern Virginia
Distribution: FreeBSD,Debian, RH, ok well most of em...
Posts: 238

Rep: Reputation: 30
run a "ps ax | more" or "ps -ef | more" and look at the ftp process name. Once you have it type "which ftpd (or the process name)"

then run the command looking for the version such as

/usr/sbin/ftpd -v
 
Old 08-06-2003, 08:15 AM   #5
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
and if you're running wu-ftpd do not call your ftp secure ...
 
  


Reply


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
Securing a redhat eagle683 Linux - Security 5 06-06-2005 05:37 PM
Securing Mandrake 9.1? unixfreak Mandriva 8 08-18-2004 11:48 PM
securing BIND markus1982 Linux - Security 3 11-18-2002 02:45 PM
securing FTP radnix Linux - Security 3 09-16-2002 01:46 PM
securing XFree86 apparition Linux - Security 2 05-04-2002 05:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:39 PM.

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