Avatar billede pham Nybegynder
25. april 2003 - 13:14 Der er 4 kommentarer og
1 løsning

ProFTP Opsætning

Hej..

Jeg vil gerne have sat en ftp server op på min mandrake 9.1 maskine, men jeg kan ikke rigtig få det til at virke selvom jeg har været inde på <a href="http://proftpd.linux.co.uk/docs/example-conf.html">ProFTPd</a> Hjemmeside og bruge deres example configurations. Håber der er nogen der kan hjælpe med en simpel configurations fil, hvor der er anonymous adgang og 1 enkelt bruger adgang..

m.v.h
anders
Avatar billede dank Nybegynder
25. april 2003 - 13:19 #1
husk altid at skrive

- Hvad er det der ikke virker
- Hvordan har du testet/prøvet
- Hvad siger logfilerne
- Hvad kommer der af fejlmeddelelser
Avatar billede dank Nybegynder
25. april 2003 - 13:19 #2
(og evt ligge din config fil online på en hjemmeside et eller andet sted)
Avatar billede pham Nybegynder
25. april 2003 - 13:25 #3
config filen:

# 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            "ProFTPD Default Installation"
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
Group                nogroup

# 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            anonymous 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>
Avatar billede pham Nybegynder
25. april 2003 - 13:25 #4
fejl meddelse:

[godballe@godballe godballe]$ ftp localhost
Connected to localhost.
220 ProFTPD 1.2.7 Server (ProFTPD Default Installation) [godballe.laptop.dk]
500 AUTH not understood.
500 AUTH not understood.
KERBEROS_V4 rejected as an authentication type
Name (localhost:godballe): ftp
331 Anonymous login ok, send your complete email address as your password.
Password:
530 Login incorrect.
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
Avatar billede pham Nybegynder
30. maj 2003 - 23:20 #5
droppet det og skiftet til pureFTPd
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
IT-kurser om Microsoft 365, sikkerhed, personlig vækst, udvikling, digital markedsføring, grafisk design, SAP og forretningsanalyse.

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester