LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   HELP! need proftpd.conf for single user ftp (https://www.linuxquestions.org/questions/linux-software-2/help-need-proftpd-conf-for-single-user-ftp-127546/)

bruhv-ahh 12-20-2003 09:39 AM

HELP! need proftpd.conf for single user ftp
 
firstly, sorry if this is in the wrong place :/

suse 9 proftpd

need a proftpd.conf example for just one user. only for my own access to allow a webcam image to be uploaded to a specific folder. no anonymous access etc. believe me i have tried with the webmin, but the headache is starting to emerge ://

i'm also having problems even starting proftpd (failed to start ftp server : sh : line 1 : /etc/init.d/proftpd - no such file or directory) this is default install with YaST

any n00b help out there?

peter_robb 12-31-2003 05:34 AM

==This one uses the home directory of any valid user==
(Just remember to use a user with no priveleges!
Passwords are sent across the Internet in clear text, readable!)
#
ServerName server.name
ServerType standalone
Port 21
Umask 002
TimeoutLogin 120
TimeoutIdle 600
TimeoutNoTransfer 900
TimeoutStalled 3600
UseReverseDNS off
ScoreboardFile /var/run/proftpd.score
TransferLog /var/log/proftpd/xferlog.legacy
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"

<Global>
DisplayLogin welcome.msg
DisplayFirstChdir readme
AllowOverwrite on
IdentLookups off
ExtendedLog /var/log/proftpd/access.log WRITE,READ write
ExtendedLog /var/log/proftpd/auth.log AUTH auth
AllowRetrieveRestart on
DeferWelcome on
DeleteAbortedStores on
ShowSymlinks off
RootLogin off
MaxLoginAttempts 3
RequireValidShell on
UseFtpUsers off
AllowStoreRestart on
ServerIdent off
DefaultRoot ~
DirFakeGroup on
DirFakeUser on
AuthAliasOnly off
</Global>
TimesGMT off
AllowForeignAddress on
DefaultServer on
MaxClients 5
MaxClientsPerHost 2
AllowOverwrite on
ServerAdmin admin@domain.com
WtmpLog on

bruhv-ahh 12-31-2003 06:08 AM

excellent... thanks a lot, will try this out once the new year alcohol has started to wear off :p


All times are GMT -5. The time now is 10:52 AM.