Quellcode |
|
1 2 |
localhost UNKNOWN nobody [03/Apr/2008:07:40:11 +0200] "USER userftp" 331 - localhost UNKNOWN nobody [03/Apr/2008:07:40:14 +0200] "PASS (hidden)" 530 - |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
AllowOverwrite on AuthAliasOnly on UserAlias sauron userftp ServerName "FTP" ServerType standalone DeferWelcome on MultilineRFC2228 on DefaultServer on ShowSymlinks off TimeoutNoTransfer 600 TimeoutStalled 100 TimeoutIdle 2200 DisplayFirstChdir .message ListOptions "-l" RequireValidShell off TimeoutLogin 20 RootLogin off ExtendedLog /var/log/ftp.log TransferLog /var/log/xferlog SystemLog /var/log/syslog.log UseFtpUsers off AllowStoreRestart on Port 1980 MaxInstances 8 User nobody Group nogroup Umask 022 022 PersistentPasswd off MaxClients 8 MaxClientsPerHost 8 MaxClientsPerUser 8 MaxHostsPerUser 8 AccessGrantMsg "welcome !!!" ServerIdent on "you're at home" DefaultRoot /home/FTP-shared DefaultRoot ~ userftp MaxLoginAttempts 5 <Limit LOGIN> AllowUser userftp proftpd DenyALL </Limit> <Directory /home/FTP-shared> Umask 022 022 AllowOverwrite off <Limit MKD STOR DELE XMKD RNRF RNTO RMD XRMD> DenyAll </Limit> </Directory> <Directory /home/FTP-shared/download/*> Umask 022 022 AllowOverwrite off <Limit MKD STOR DELE XMKD RNEF RNTO RMD XRMD> DenyAll </Limit> </Directory> <Directory> /home/FTP-shared/upload/> Umask 022 022 AllowOverwrite on <Limit READ RMD DELE> DenyAll </Limit> <Limit STOR CWD MKD> AllowAll </Limit> </Directory> |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Savko« (03.04.2008, 12:02)
Zitat
# Zusatzoptionen
<Anonymous /home/ftp>
User otto
Group otto
AnonRequirePassword on
MaxClients 3 "The server is full, hosting %m users"
DisplayLogin welcome.msg
DisplayFirstChdir .msg
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
<Limit LIST NLST RETR PWD XPWD SIZE STAT CWD XCWD CDUP XCUP >
AllowAll
</Limit>
<Limit STOR STOU APPE RNFR RNTO DELE MKD XMKD SITE_MKDIR RMD XRMD SITE_RMDIR SITE SITE_CHMOD SITE_CHGRP MTDM >
DenyAll
</Limit>
</Anonymous>
<Global>
DefaultTransferMode binary
RootLogin off
</Global>
Quellcode |
|
1 |
sudo chmod 777 -R /home/ftp/ |
Quellcode |
|
1 |
sudo /etc/init.d/inetd restart |
Quellcode |
|
1 |
sudo apt-get install gproftpd |
Was soll denn der Server genau können?
Du kannst auch die grafische Oberfläche von proftpd nutzen
Quellcode |
|
1 |
sudo mount --bind /home/ftpuser /media/ |
Sponsorenwerbung: |
Hardware, Computer, PCs, Notebooks & Laptops mit Linux |
Forensoftware: Burning Board®, entwickelt von WoltLab® GmbH
Individuelle Notebooks Laptops - Individuelle Computer PCs - Linux Notebooks & Computers
Lastminute - Ubuntu Linux - Abmahnung - Geek und Nerd Shirt Shop
T-Shirts - sanierung wien