Mød TrackMan og Veo på Computerworld Cloud & AI Festival og hør, hvordan tech ændrer måden, vi træner og udvikler talent – fra skolebold til The Masters.
Du skal have en der hedder SQLUserInfo Deri skal der stå usertable username passwd uid gid homedir shell dvs navnet på tabellen der indeholder informationen navnet på feltet der indeholder username navnet på feltet der indeholder password navnet på feltet der indeholder UID osv osv
Prøv at connecte til IP nummeret på maskinen i stedet for 127.0.0.1 - der kan være forskel på om den lukker folk ind på localhost eller på den rigtige adresse
Men den svarer. FTP serveren er bare i offline mode. Det kan enten være fordi du har angivet en forkert DefaultRoot eller permissions på DefaultRoot er forkerte.
ServerName "xxxxx.dk" ServerType standalone defaultserver on DeferWelcome on
#MultilineRFC2228 on ShowSymlinks off AllowOverwrite on RequireValidShell off authpamauthoritative off defaulttransfermode binary allowforeignaddress on usereversedns off
AccessGrantMsg "Velkommen til xxxxx.dk!" #DisplayConnect /home/proftpd/.message #DisplayLogin /home/proftpd/.message #DisplayFirstChdir /home/proftpd/.message ServerIdent on "Ftp server klar til brug"
# Umask 022 is a good standard umask to prevent new files and dirs # (second parm) from being group and world writable. Umask 002
# Set the user and group that the server normally runs at. User nobody Group nobody
# 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 200 MaxClients 10 "Max antal bruger er nået" #MaxClientsPerHost 2 "Easy now, 1 for upload, 1 for download, what else is there to do?" #accessgrantmsg "Hello !?!"
# auth using mysql host login pass db SQLConnectInfo localhost root pass proftpd SQLUser
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>
Smid følgende i din proftpd.conf så skulle det spille! # auth using mysql host login pass SQLConnectInfo proftpd@localhost brugernavn kodeher SQLUserInfo ftp_users username password uid gid homedir shell SQLAuthTypes PlainText SQLAuthenticate users*
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.