LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-04-2007, 01:36 PM   #1
darthbator
LQ Newbie
 
Registered: Oct 2006
Distribution: Ubuntu 6.10, Red Hat 9, Mac OS X
Posts: 11

Rep: Reputation: 0
ProFTPD conf question


Hello I've been working on a VPS (virtual private server) that a friend of mine loaned me and have been running into some issues FTPing into my site. I checked the box and found proftpd running so I decided to check the conf which appears as follows.

# To have more informations about Proftpd configuration
# look at : http://www.proftpd.org/
#

# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName "ProFTPD"
ServerType inetd
ServerType inetd
DefaultServer on
<Global>
DefaultRoot ~ psacln
DefaultRoot /
AllowOverwrite on
</Global>
DefaultTransferMode binary
UseFtpUsers off

# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30

#Following part of this config file were generate by PSA automatically
#Any changes in this part will be overwritten by next manipulation
#with Anonymous FTP feature in PSA control panel.

#Include directive should point to place where FTP Virtual Hosts configurations
#preserved

ScoreboardFile /var/run/proftpd/scoreboard

# Primary log file mest be outside of system logrotate province

TransferLog /usr/local/psa/var/log/xferlog

#Change default group for new files and directories in vhosts dir to psacln

<Directory /var/www/vhosts>
GroupOwner psacln
</Directory>

# Disable PAM authentication
AuthPAM off

# delay on login off
IdentLookups off
UseReverseDNS off

Include /etc/proftpd.include


Now I'm not SUPER familiar with proftpd however I do know at least it's basics and this is what I have managed to deduce this config means. The server is running in inited mode, and will only start when a user attempts to connect to the data port (21). It works since I can connect to the FTP server, I just cannot log in. It also looks like this should be authing users from /etc/passwd and should lock them to a home directory of the psacln group? however no user in /etc/passwd is able to be authenticated nor is any user that has been created by plesk itself.
 
Old 01-12-2007, 01:34 AM   #2
poweredbydodge
Member
 
Registered: Oct 2006
Location: Buffalo, NY
Distribution: Servers: Scientific Linux 5.x // Desktops: Fedora Core (latest)
Posts: 110

Rep: Reputation: 15
This won't help you, but I sympathize.

I used to run ProFTPD to 'share' ... stuff.

Anyway, long story short, it was the only Linux FTP server that came close to what FileZilla is to Windows. However, it was a living nightmare to get it to work with standard Linux clients. gFTP would never connect properly. Igloo would, however.

But, when I tried to implement TLS/SSL security (aka FTP-S) to my ProFTPD installation, it all went to hell. Nothing would connect, and then, somehow, I was hacked. Go figure.

My best reccomendation is that - unless you absolutely positively need true FTP - then forget about it, and do 'fake' ftp over an SSH connection (aka S-FTP).
 
  


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
Proftpd conf gloomz Linux - Server 2 12-31-2006 10:16 AM
please doublecheck my proftpd.conf tw001_tw Slackware 1 12-06-2004 12:06 AM
proftpd.conf question axis Linux - Networking 1 07-18-2003 12:16 AM
Another ProFTPD conf file? KillerCheeto Linux - Newbie 1 04-24-2003 11:28 PM
proftpd --- need help? could someone post a working proftpd.conf i could look at ZooRoPa Linux - Networking 1 04-02-2003 06:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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