Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-20-2004, 12:15 AM   #1
LQ Newbie
Registered: Apr 2004
Posts: 14

Rep: Reputation: 0
ProFTPD on Fedora

Ok, i've tried for days to setup Proftpd on my server. I cannot add a valid user. I want this user to have ftp access only. I want him jailed in a specific directory. And no groups, just individuals.

My proftpd.conf:

# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# "nobody" and "ftp" for normal operation.

ServerName "Dedicated-Gamers"
ServerType standalone
DefaultServer on
ServerAdmin serveradmin email address

# Port 21 is the standard FTP port.
Port 21

#Global Options
#Umask 022 makes uploaded files world readable, but only that user can write.
Umask 022

#If you are running a firewall passive ftp access will be blocked by the #firewall
#This makes the all passive connections come in somewhere between port 49000 and #50000
#PassivePorts 49000 50000

#This is the user and group the server runs under.
User nobody
Group nobody

#This allows 3 login attempts, if these are not successful access is denied
MaxloginAttempts 3
#The amount of time that connection will be left open if it has stopped or #jammed
TimeoutStalled 3600

#This is only if the server is running under inted.
MaxInstances 30

#Timeout when the connection is idle or not being used.
TimeoutIdle 600

#Allows users to login who donít have a valid shell, this is useful
#if you wish to allow people access to your FTP server, but not ssh.
RequireValidShell off

#This is the file that proftpd puts itís logs.
SystemLog /var/log/proftpd.log

# The locks all users except for the groups users and admin
#into there home Diectories
DefaultRoot ~ !users !admin

#This allows access from 192.168.1.x series IPs ONLY
#<Limit LOGIN>
# Order allow,deny
# Allow from 192.168.1.*
# Deny from all

#This denies access from 192.168.1.x series IPs ONLY
#<Limit LOGIN>
# Order deny,allow
# Deny from 192.168.1.*
# Allow from all

# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on


then i added a user by:

useradd gotleche -s /bin/false -d /home/counter-strike/hlds/mikeacuna

then i did:

passwd gotleche

then i did:

chown gotleche /home/counter-strike/hlds/mikeacuna
chmod 700 /home/counter-strike/hlds/mikeacuna

Then i restarted proftpd with:

/etc/rc.d/init.d/proftpd restart

I dont know whats wrong! how come i cant get this to work??


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
Uninstall proftpd-1.3.0rc2.tar.gz - Fedora-3 rulirahm Linux - Software 6 07-27-2005 11:16 PM
[PROFTPD] Ldap and proftpd authentication wesleywest Linux - Software 1 02-22-2005 10:51 AM
Disabling the chroot in proftpd and enabling root logins on ssh/proftpd jon_k Linux - Software 1 06-16-2004 11:27 AM
Proftpd - ftp help on fedora brevig Linux - Software 0 02-08-2004 03:54 PM
proftpd --- need help? could someone post a working proftpd.conf i could look at ZooRoPa Linux - Networking 1 04-02-2003 07:56 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration