[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Where does pure-ftpd store files when anonymous logs in?



On Thu, 2025-07-10 at 12:55 +0200, tomas@tuxteam.de wrote:
> On Thu, Jul 10, 2025 at 12:45:22PM +0200, hw wrote:
> > 
> > Right.  Anonymous logins are allowed and I have created a system account
> > 'ftp', and it still doesn't work. It keeps asking for a password when
> > trying to log in as 'anonymous' or 'ftp'.
> > 
> > I have the same on Fedora, and there it does not ask for a password when
> > trying to log in as 'anonymous', and it just works fine.
> > 
> > This must be some kind of weird Debian issue.  Why does it keep asking
> > for a password?
> 
> I'd have a look at /var/log/auth.log, or however this is spelt in
> systemd-ese these days.

The log says nothing new:


[...] pure-ftpd: pam_unix(pure-ftpd:auth): authentication failure;
logname= uid=0 euid=0 tty=pure-ftpd ruser=anonymous rhost=[...] 

[...] pure-ftpd: pam_unix(pure-ftpd:auth): authentication failure;
logname= uid=0 euid=0 tty=pure-ftpd ruser=ftp rhost=[...]  user=ftp


There is something wrong since pure-ftpd is not supposed to ask for a
password for either user to begin with.


Reply to: