[BlueOnyx:07686] Anonymous FTP

Robert Fitzpatrick robert at webtent.org
Sun Jul 17 15:26:04 -05 2011


I have a new server setup, enabled Anonymous FTP on a virtual site, but
it continues to prompt for login unlike on other BO servers. Even if I
try to login as anonymous with an email address for password, it
continues to prompt. It is like the anonymous user is not valid...this
is all I get in the logs after a connection is attempted...

> Jul 17 16:13:16 www xinetd[12008]: START: ftp pid=17217 from=x.x.x.x
> Jul 17 16:13:17 www proftpd[17217]: warning: "ProFTPD" address/port (x.x.x.x:21) already in use by "ProFTPD server"
> Jul 17 16:13:17 www proftpd[17217]: www.host.net (rrcs-x-x-x-x.se.biz.rr.com[x.x.x.x]) - FTP session opened.
> Jul 17 16:13:17 www proftpd[17217]: www.host.net (rrcs-x-x-x-x.se.biz.rr.com[x.x.x.x]) - FTP session closed.
> Jul 17 16:13:17 www xinetd[12008]: EXIT: ftp status=0 pid=17217 duration=1(sec)

Here are the users...

> [root at www ftp]# grep ftp /etc/passwd
> ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
> SITE10:x:572:510:anonName:/home/.sites/48/site10/ftp:/bin/badsh
> [root at www ftp]# grep ftp /etc/group
> ftp:x:50:
> [root at www ftp]# grep nobody /etc/group
> nobody:x:99:
> [root at www ftp]# grep nobody /etc/passwd
> nobody:x:99:99:Nobody:/:/sbin/nologin
> [root at www ftp]# grep SITE10 /etc/passwd
> SITE10-logs:x:522:510:www.host.com:/home/.sites/48/site10/logs:/bin/badsh
> SITE10:x:572:510:anonName:/home/.sites/48/site10/ftp:/bin/badsh

And the anonymous setup from proftpd.conf for the virtual site...

> <VirtualHost x.x.x.x>
>     DefaultRoot     / wheel
>         DefaultRoot             / admin-users
>         DefaultRoot             ~/../../.. site-adm
>         DefaultRoot             ~ !site-adm
>         AllowOverwrite  on
>         DefaultChdir            /web
>         DisplayLogin    .ftphelp
>         <Anonymous /home/.sites/48/site10/ftp>
>                 User      SITE10
>                 Group    nobody
>                 UserAlias anonymous SITE10
>                 UserAlias guest SITE10
>                 UserAlias ftp SITE10
>                 MaxClients      10
>                 <Directory *>
>                         <Limit WRITE>
>                                 DenyAll
>                         </Limit>
>                 </Directory>
>                 <Directory /home/.sites/48/site10/ftp/incoming/*>
>                         Umask   002
>                         AllowOverwrite off
>                         <Limit STOR>
>                                 AllowAll
>                         </Limit>
>                         <Limit READ DIRS>
>                                 DenyAll
>                         </Limit>
>                 </Directory>
>         </Anonymous>
> </VirtualHost>

I have compared all against a working anonFTP site on another BO server,
cannot seem to figure out why anonymous won't work on this one. Anyone
seen this behavior or know how to resolve?

Thanks, Robert



More information about the Blueonyx mailing list