SunQuest
           FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old April 26th, 2001, 02:17 PM
spinkick spinkick is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Location: Riverside CA
Posts: 58 spinkick User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via AIM to spinkick
How do I remove my existing ftp daemon on FreeBSD? I want to install ProFtpd. I heard it was more secure with many options and easy to use.

Reply With Quote
  #2  
Old April 26th, 2001, 07:06 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
It doesn't matter whether it's FreeBSD or any other UNIX, just uncomment the ftp line from /etc/inetd.conf.

>> I heard it was more secure

Yes, but make sure your version is not 1.2.1 or earlier.

Reply With Quote
  #3  
Old April 26th, 2001, 10:32 PM
spinkick spinkick is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Location: Riverside CA
Posts: 58 spinkick User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via AIM to spinkick
Is there a file that I can configure to jail users to their directory? Something I can do without installing a new program. When users connect, I don't want them wandering into higher levels... and I want them to think they are in the highest directory...
It would be great if there is some way to do this without installing any new program.

Reply With Quote
  #4  
Old April 27th, 2001, 12:13 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Create /etc/ftpchroot and add the username, one per line, to it.

Reply With Quote
  #5  
Old April 27th, 2001, 12:49 AM
spinkick spinkick is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Location: Riverside CA
Posts: 58 spinkick User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via AIM to spinkick
AWESOME!

God.. If I only knew it was that easy... Wait.. but I can still access it through telnet... Is it more complicating if I want to disable that?

Last edited by spinkick : April 27th, 2001 at 12:57 AM.

Reply With Quote
  #6  
Old April 28th, 2001, 07:53 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Disallow ftp and telnet access:
- run vipw and change the associate shell for that particular user to /sbin/nologin
(note, don't ask me how to use vipw, just use it like you normally do with vi. Just don't run any UNIX or Linux if you don't know enough vi)

Disallow ftp but allow telnet:
- add that username to /etc/ftpusers

Disallow telnet but allow ftp:
- run vipw and change the user shell to /sbin/nologin like mentioned above
- add /sbin/nologin to /etc/shells

Keep in mind that this thread is totally off topic, you should probably come over to http://bsdvault.net

Last edited by freebsd : April 28th, 2001 at 08:00 AM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > Removing my existing ftp daemon


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway