Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 11-12-2004, 11:40 AM   #1
LQ Newbie
Registered: Sep 2004
Location: Brandon Manitoba Canada
Distribution: Slackware and OpenBSD
Posts: 22

Rep: Reputation: 15
Proftp, Users not able to matter what!


I am currently trying to set up a proftpd service on my slackware 10 box. Here is my configureation:

# 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
# 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

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

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.
Old 11-12-2004, 12:04 PM   #2
LQ Newbie
Registered: Nov 2004
Posts: 6

Rep: Reputation: 0

Proftp is usually ready to go after installing and starting the service.Usually you don't neccessarily have to setp ftp users.Any with a regular users acct on the system will logon with their normal user id and password.
You have alot of the options uncommented,
Old 11-12-2004, 12:15 PM   #3
LQ Newbie
Registered: Sep 2004
Location: Brandon Manitoba Canada
Distribution: Slackware and OpenBSD
Posts: 22

Original Poster
Rep: Reputation: 15
The only reason that i am trying to set up ftp users is for security reasons. i don't want a anonymous ftp. Also i don't want the users that are system users to have an ftp account. Thanks for your help.


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
ProFTP users issue reynacho_au Linux - Software 4 12-20-2004 09:46 PM
Allow ProFTP login but prevent local login? sorrodos Linux - Networking 2 06-23-2004 02:56 PM
Proftp 1.2.9 setup help with users parasbshah Linux - Networking 0 06-01-2004 03:52 AM
Proftp + confusing users and groups 80s Linux - Networking 1 08-12-2003 06:01 AM
proftp with mysql db users quthentication adrianmak Linux - Networking 0 12-30-2002 09:08 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:32 PM.

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