Hey,
I am currently trying to set up a proftpd service on my slackware 10 box. Here is my configureation:
proftpd.conf:
Code:
# 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 Default Installation"
ServerType standalone
DefaultServer on
ServerAdmin nick.peters@candoltd.com
# Turns the server version display off
ServerIdent 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
# Set the user and group under which the server will run.
User ftp
Group ftp
TimeoutLogin 120
TimeoutIdle 600
TimeoutNoTransfer 900
TimeoutStalled 3600
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot /home/ftp
UseReverseDNS no
#Log location and Formats:
TransferLog /var/log/proftpd/xferlog.log
LogFormat default "%h %l %u %t \"%r\" %s %b"
LogFormat auth "%v [%P] %h %t \"%r\" %s"
LogFormat write "%h %l %u %t \"%r\" %s %b"
#this is for the users that use ftp and the groups.
AuthUserFile /etc/proftpd-AuthUsers
AuthGroupFile /etc/proftpd-AuthGroups
# Normally, we want files to be overwriteable.
AllowOverwrite on
# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
DenyAll
</Limit>
<Global>
DisplayLogin /usr/local/proftpd/etc/welcome.msg
IdentLookups off
ExtendedLog /var/log/proftpd/access.log WRITE,READ write
ExtendedLog /var/log/proftpd/auth.log AUTH auth
</Global>
I know i should be using sftp or somthing of the like, but this is what my bosses want.
When i try to login using one of the accounts that i set up using ftpasswd (i used ftpasswd to create the usernames and passwords and the groups that are in the proftpd-AuthUsers and proftpd-AuthGroups), it won't let me login. The odd part is when i first set things up i could login, but i couldn't do anything (like move files to the server, or create a directory). I have read alot of the proftpd user manual and in my eyes the conf file looks about what i need. Can somebody please help me set this up correctly? I am a

when it comes to proftpd. Thanks for any help in advance.