proFTPD, fatal error?

Pagina: 1
Acties:
  • 63 views sinds 30-01-2008

  • MewBie
  • Registratie: April 2002
  • Laatst online: 11:42
Ik probeer een ftp op te zetten m.b.v. proFTPD. Een anonieme ftp is me wel gelukt met dit programma, maar dat wil ik niet. Ik heb een geprobeerd dat te veranderen door instellingen te veranderen, maar nu krijg ik de volgende foutmelding als ik probeer proFTPD te starten in webmin: Failed to start FTP server : - Fatal: UserAlias: missing arguments.

Dit is mn config file:
code:
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
71
72
73
74
# This is a basic ProFTPD configuration file (rename it to 
# 'proftpd.conf' for actual use.  It establishes a single server
# and a single anonymous login.  It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName          "Maarten's FTP"
ServerType standalone
DefaultServer           on

# Port 21 is the standard FTP port.
Port                21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask               022

# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30

# Set the user and group that the server normally runs at.
User                nobody


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

# A basic anonymous configuration, no upload directories.
<Anonymous ~ftp>
  User              ftp
  Group             ftp
  # We want clients to be able to login with "anonymous" as well as "ftp"
  UserAlias         ftp

  # Limit the maximum number of anonymous logins
  MaxClients            10

  # We want 'welcome.msg' displayed at login, and '.message' displayed
  # in each newly chdired directory.
  DisplayLogin          welcome.msg
  DisplayFirstChdir     .message

  # Limit WRITE everywhere in the anonymous chroot
  <Limit WRITE>
    DenyAll
  </Limit>

</Anonymous>
<Global>
AllowRetrieveRestart on
MaxClients 5 "Sorry, user limit reached"
MaxClientsPerHost 2 "Sorry, logged in to many times"
DefaultChdir /home/ftp
DefaultRoot /home/ftp
DefaultRoot /home/ftp
DefaultRoot /home/ftp
DeleteAbortedStores on
HiddenStor off
MaxLoginAttempts 4
AllowStoreRestart off
CDPath /home/ftp
LoginPasswordPrompt off
AllowOverwrite off
IdentLookups on
</Global>
TimeoutIdle 300
TimeoutLogin 600
TimeoutNoTransfer 600
UseReverseDNS on

dit levert dus de bovengenoemde foutmelding, kan iemand mij helpen om iig te zorgen dat ik weer anoniem in kan loggen? ik ben er nu al 2 dagen mee bezig en zie t gewoon niet meer.

Please leave a message after the beep.
*beeeeep*


  • _cyclops_
  • Registratie: Mei 2000
  • Laatst online: 07-03-2025
Klein beetje rtfm deze...

Als je geen anonymous ftp wil dan moet je het hele stuk weghalen van <Anonymous ~dtp> tot en met </anonymous>

  • MewBie
  • Registratie: April 2002
  • Laatst online: 11:42
dus als ik het stukje goed begrijp moet ik voor iedereen die ik wil laten inloggen op mn ftp ook een user account aanmaken in linux?

Please leave a message after the beep.
*beeeeep*


Verwijderd

MewBie schreef op 13 April 2003 @ 10:22:
dus als ik het stukje goed begrijp moet ik voor iedereen die ik wil laten inloggen op mn ftp ook een user account aanmaken in linux?
Ja, of maak je config file zo dat je ook virtual users kan hebben (tip: mysql-auth)...

pure-ftpd vind ik een fijnere daemon, veel beter in te stellen en makkelijker met virtual users :)

  • MewBie
  • Registratie: April 2002
  • Laatst online: 11:42
Verwijderd schreef op 13 april 2003 @ 10:28:
[...]
Ja, of maak je config file zo dat je ook virtual users kan hebben (tip: mysql-auth)...

pure-ftpd vind ik een fijnere daemon, veel beter in te stellen en makkelijker met virtual users :)
Ik weet niet ok ik mysql-auth heb geinstalleerd. Ik heb net mn hele proftpd.conf file leeggehaald en ben nu alles 1 voor 1 van de regels van de link van _cyclops_ er aan het inzetten in de hoop dat het dan werkt

Please leave a message after the beep.
*beeeeep*


  • _cyclops_
  • Registratie: Mei 2000
  • Laatst online: 07-03-2025
er zitten bij proftpd standaard config's, ook _zonder_ anonymous.

Je moet dus gewoon accounts uitdelen, kijk dan vooral naar de Requiredvalidshell optie, zo kun je 'echte' ftp accounts uitdelen.

  • Wilke
  • Registratie: December 2000
  • Laatst online: 14:34
Een duidelijke foutmelding, die aangeeft dat er iets niet helemaal goed in de configuratie-file staat. Wat wil je nog meer?

Hoe je ProFTPD moet configureren is zoals bv. _cyclos_ al aangeeft goed gedocumenteerd, dit topic gaat daarom dan ook op slot.

(En ja, 'normaal' heeft iedereen met een Unix-account (in /etc/passwd) ook een FTP-account, maar dat hoeft dus niet per se - zie de documentatie).
Pagina: 1

Dit topic is gesloten.