LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 12-13-2003, 04:58 AM   #1
alitrix
Member
 
Registered: Jun 2003
Location: Netherlands, The
Distribution: Ubuntu, Kernel 2.6.7
Posts: 169

Rep: Reputation: 30
Question Problems with proftpd


Hi,

I'm having problems with Proftpd.
It isn't doing what I've configured in the config file.

Part of the conf file
Code:
TransferRate APPE,STOR 8
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~

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

<Directory /mnt/extra/uploadZ>
  <Limit DELE,RETR,STOR>
    DenyAll
  </Limit>
</Directory>
Startup debug:
Code:
root@AliTriX:/home/dbzgt# proftpd -d 10          
 - parsing '/usr/local/etc/proftpd.conf' configuration
 - FS: using system open()
 - FS: using system read()
 - dispatching auth request "getpwnam" to module mod_auth_file
 - dispatching auth request "getpwnam" to module mod_auth_unix
 - dispatching auth request "getgrnam" to module mod_auth_file
 - dispatching auth request "getgrnam" to module mod_auth_unix
 - FS: using system read()
 - <Directory />: adding section for resolved path '/'
 - <Directory /mnt/extra/uploadZ>: adding section for resolved path '/mnt/extra/uploadZ'
 - FS: using system read()
 - FS: using system close()
localhost - 
localhost - Config for AliTriX's FTP Server:
localhost - ~ftp/
localhost -  Limit
localhost -   DenyAll
localhost -  UserName
localhost -  GroupName
localhost -  UserAlias
localhost -  MaxClients
localhost -  DisplayLogin
localhost -  DisplayFirstChdir
localhost -  TransferRate
localhost -  Umask
localhost - /
localhost -  /mnt/extra/uploadZ
localhost -   Limit
localhost -    DenyAll
localhost -   AllowOverwrite
localhost -   TransferRate
localhost -   Umask
localhost -  AllowOverwrite
localhost -  TransferRate
localhost -  Umask
localhost - DefaultServer
localhost - TransferRate
localhost - Umask
localhost - UserID
localhost - UserName
localhost - GroupID
localhost - GroupName
localhost - DefaultRoot
localhost - dispatching auth request "getgroups" to module mod_auth_file
localhost - dispatching auth request "getgroups" to module mod_auth_unix
localhost - SETUP PRIVS at main.c:2704
localhost - ROOT PRIVS at main.c:1956
localhost - RELINQUISH PRIVS at main.c:1962
root@AliTriX:/home/dbzgt#
Oke, let me explain the sitiuation. There is a user called `upload` and it has FTP access and the HOME dir of that user is `/mnt/extra/uploadZ`. So when the user logins into the FTP server, he goes directly to that dir.
I want them only to UPLOAD and NOT MORE, so downloading files isn't allowed.

The DefaultRoot commands works fine, cause the user can't go anywhere except it own home-dir.
But the Limit aren't working and neither the TransferRate.
Somebody maybe knows why?
(Btw, I even tryed to put the Limit in the tag - `Diretory /`, didn't work either)


Greetz,
AliTriX

Last edited by alitrix; 12-13-2003 at 05:02 AM.
 
  


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
Proftpd problems soulwatcher1974 Linux - Software 4 06-04-2005 11:01 PM
proFTPd problems wiky007 Linux - General 11 09-22-2004 12:49 PM
proftpd problems mindfestival Linux - Newbie 7 08-16-2004 08:18 AM
Problems with Proftpd Inexactitude Linux - Networking 4 11-21-2003 07:12 PM
ProFTPD problems Corellon Linux - Newbie 23 06-07-2003 11:11 AM


All times are GMT -5. The time now is 07:08 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