|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Hello:
I'm running ProFTPD 1.2.5RC1 under Debian stable. When ever I attempt a login via anonymous, ftp, or nobody, I can not. After the password is requested, I get a "530: login incorrect". In daemon.log, I receive a notice from ProFTPD, stating that there is no such user (anonymous). The stock <anonymous> configuration, contained: user ftp UserAlias anonymous ftp The daemon runs as "nobody", "nogroup". I have no user "ftp", but changing user to "nobody", got me nowhere. Here is the configuration as it stands: ServerName "test FTP server" ServerType standalone DeferWelcome on ShowSymlinks on MultilineRFC2228 on DefaultServer on ShowSymlinks on AllowOverwrite on TimeoutNoTransfer 600 TimeoutStalled 600 TimeoutIdle 1200 DisplayLogin welcome.msg DisplayFirstChdir .message LsDefaultOptions "-1" DenyFilter \*.*/ # Uncomment this if you are using NIS or LDAP to retrieve passwords: #PersistentPasswd off # Port 21 is the standard FTP port. Port 21 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 /*> # Umask 022 is a good standard umask to prevent new files and dirs # (second parm) from being group and world writable. Umask 022 022 AllowOverwrite on </Directory> # Anonymous configuration for test <Anonymous /var/www/org/test/files> User nobody Group nogroup # We want clients to be able to login with "anonymous" as well as "ftp" UserAlias anonymous nobody UserAlias ftp nobody RequireValidShell off AnonRequirePassword off # 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 <Directory *> <Limit WRITE> DenyAll </Limit> </Directory> <Directory incoming> # Umask 022 is a good standard umask to prevent new files and dirs # (second parm) from being group and world writable. Umask 022 022 <Limit READ WRITE> DenyAll </Limit> <Limit STOR> AllowAll </Limit> </Directory> </Anonymous> |
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > ProFTPD not allowing anonymous users |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|