Fedora Linux Support Community & Resources Center
  #1  
Old 21st June 2005, 11:25 AM
niko Offline
Registered User
 
Join Date: Apr 2005
Posts: 28
Question proftpd conf, need some help

k
I'm a newbie for linux. I'm setting up a game server wich will also have an important ftp server. I know enough to install fedora core 3, setup quake3, team speak, vnc and some services but i'm kinda lost with this ftp and accounts..

If anyone could give me some help on making proftpd config file, i'm now in squeze with time and i was totaly lost with manuals/docs on proftpd..
I've installed proftpd from a rpm package.
It' works, all I need is a conf file..

Basicaly i need all local accounts disabled and 2 of them made just for ftp (with no console logins). One that would have onlu read-only acces to a directories of the ftp server (for download) and the other one that would have acces to only one isolated directory (say a home directory of that user) for uploading files (with a restriction that noone can download the uploaded files untill i move them (directly on server as a root user) to the ftp dir so that they can be downloaded with the 1st account).
Both accounts need to be chroot on, i also need a maxusers 20 on the 1st account and on the second for upload i need speedlimit 50kb/sec..

Can someone make this for me? At least to tell me a good reference or a really similar cfg (sry, but i was lost with example cfg's on proftpd.org :/)

TNX a million in advance ppl!!!


p.s. if this was disscused earlier can u give me a link?
i've also tried vsftpd and had the same problems..
Reply With Quote
  #2  
Old 21st June 2005, 11:55 AM
johny's Avatar
johny Offline
Registered User
 
Join Date: May 2005
Location: Kosice, Slovakia
Age: 24
Posts: 52
There is a simple graphical configuration utility for proftpd. It's called gproftpd.

http://mange.dynalias.org/linux.html
__________________
There are 10 kinds of people in the world. Those who understand binary and those who don't.
Reply With Quote
  #3  
Old 21st June 2005, 03:30 PM
niko Offline
Registered User
 
Join Date: Apr 2005
Posts: 28
tnx,.. and it works great!!!
Reply With Quote
  #4  
Old 23rd June 2005, 01:37 AM
theunknown Offline
Registered User
 
Join Date: Jun 2005
Posts: 22
After I followed the instruction on that page, when I try to restart my ftp server by using this command

/etc/init.d/proftpd restart

it gives me an error:

[root@localhost ~]# /etc/init.d/proftpd restart
Shutting down proftpd: [ OK ]
Starting proftpd: [FAILED]


i tried it again and this is what I get

[root@localhost ~]# /etc/init.d/proftpd restart
Shutting down proftpd: [FAILED]
Starting proftpd: [FAILED]


The only way I can turn it back on is do a command:

gproftpd

THen a program opens, and then I can click on the ONLINE button
can someone help me?

Last edited by theunknown; 23rd June 2005 at 01:39 AM.
Reply With Quote
  #5  
Old 23rd June 2005, 09:09 AM
niko Offline
Registered User
 
Join Date: Apr 2005
Posts: 28
honestly don't know,..
since the online/offline command from gproftpd is a littly buggy i do it from terminal window with su privilages:
service proftpd status
service proftpd stop
service proftpd start

and you have service --status --all to see all other services..

You've probably got the FAILURE on shuting down the server 'couse the server wasn't on-line in the 1st place, and the second failure is most probably 'couse your proftpd.conf is not setup properly so the app couldn't start the server.
You should try loading the default gproftpd config and try starting the server with that config to be sure that the problem is with config file.
If it works than edit one line on the config by one and test it.

GL!
Reply With Quote
  #6  
Old 23rd June 2005, 12:18 PM
mpaiva's Avatar
mpaiva Offline
Registered User
 
Join Date: Mar 2005
Posts: 18
Quote:
Originally Posted by theunknown
After I followed the instruction on that page, when I try to restart my ftp server by using this command

/etc/init.d/proftpd restart

it gives me an error:

[root@localhost ~]# /etc/init.d/proftpd restart
Shutting down proftpd: [ OK ]
Starting proftpd: [FAILED]


i tried it again and this is what I get

[root@localhost ~]# /etc/init.d/proftpd restart
Shutting down proftpd: [FAILED]
Starting proftpd: [FAILED]


The only way I can turn it back on is do a command:

gproftpd

THen a program opens, and then I can click on the ONLINE button
can someone help me?

Why dont you use VSFTP? Its easier !
Marcus
Reply With Quote
  #7  
Old 23rd June 2005, 10:06 PM
theunknown Offline
Registered User
 
Join Date: Jun 2005
Posts: 22
My service is up for sure. But when i tried restart it shuts but doesnt start at all...
maybe you are right about my profptd is not configure properly...

How do I:

Quote:
You should try loading the default gproftpd config and try starting the server with that config to be sure that the problem is with config file.
Reply With Quote
  #8  
Old 24th June 2005, 12:12 AM
niko Offline
Registered User
 
Join Date: Apr 2005
Posts: 28
@theunknown
i have no idea how to do that
all i know is that gproftpd offers you it's default config upon install, maybe there is an option somwhere in the menu, read the manual,.. (man gproftpd)
maybe you should try erasing your cfg and maybe gproftp will replace it automaticly with a new one
(don't erase it, just place it into another directory)..
there's also an option to create another server, try that, maybe it loads the default cfg there so configure the new server as yours and delete the old one

btw are you loged in as root?

@mpaiva... sry but vsftpd sucks ass that's why i tried proftpd..

Last edited by niko; 24th June 2005 at 12:14 AM.
Reply With Quote
  #9  
Old 24th June 2005, 05:31 PM
theunknown Offline
Registered User
 
Join Date: Jun 2005
Posts: 22
yup.. vsftpd is not in the webmin.


I have no idea how to do this:

maybe you should try erasing your cfg and maybe gproftp will replace it automaticly with a new one
(don't erase it, just place it into another directory)..
there's also an option to create another server, try that, maybe it loads the default cfg there so configure the new server as yours and delete the old one
Reply With Quote
  #10  
Old 25th June 2005, 12:30 AM
niko Offline
Registered User
 
Join Date: Apr 2005
Posts: 28
man gproftpd

www.google.com search for proftpd and gproftpd

hm.. reinstall gproftpd?
Reply With Quote
Reply

Tags
conf, proftpd

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
resolv.conf ignores hosts file. host.conf is correct mlee07946 Servers & Networking 1 9th July 2007 06:19 PM
file type of /etc/yum.conf and yumex.profiles.conf? Zigzagcom Security and Privacy 2 25th May 2006 05:39 AM
ProFTPD signature16 Servers & Networking 1 8th April 2006 08:48 PM
proftpd ieuuk Servers & Networking 1 9th January 2005 12:18 AM


Current GMT-time: 07:15 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat