LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-19-2004, 11:15 PM   #1
Soujiro
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
<Global>
#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
</Global>

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


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

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

_____________________________

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


Reply


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 10:16 PM
[PROFTPD] Ldap and proftpd authentication wesleywest Linux - Software 1 02-22-2005 09:51 AM
Disabling the chroot in proftpd and enabling root logins on ssh/proftpd jon_k Linux - Software 1 06-16-2004 10:27 AM
Proftpd - ftp help on fedora brevig Linux - Software 0 02-08-2004 02:54 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


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