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

    From hw@21:1/5 to All on Wed Jul 9 23:20:01 2025
    Hi,

    where does pure-ftpd store files when anonymous logs in?

    Even its man page is missing in Debian. Are we supposed to create an
    ftp user having a home directory to store such files in, or what's the
    Debian way of specifying the directory for the files?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Greg Wooledge@21:1/5 to All on Thu Jul 10 02:20:01 2025
    On Wed, Jul 09, 2025 at 23:08:05 +0200, hw wrote:
    where does pure-ftpd store files when anonymous logs in?

    Even its man page is missing in Debian.

    According to packages.debian.org, the package "pure-ftpd" depends on
    the package "pure-ftpd-common", and the latter has all the man pages:

    <https://packages.debian.org/bookworm/all/pure-ftpd-common/filelist> /etc/ftpallow
    /etc/logrotate.d/pure-ftpd-common
    /etc/pam.d/pure-ftpd
    /etc/pure-ftpd/auth/65unix
    /etc/pure-ftpd/auth/70pam
    /etc/pure-ftpd/conf/AltLog
    /etc/pure-ftpd/conf/FSCharset
    /etc/pure-ftpd/conf/MinUID
    /etc/pure-ftpd/conf/NoAnonymous
    /etc/pure-ftpd/conf/PAMAuthentication
    /etc/pure-ftpd/conf/PureDB
    /etc/pure-ftpd/conf/TLSCipherSuite
    /etc/pure-ftpd/conf/UnixAuthentication
    /etc/pure-ftpd/pure-ftpd.conf
    /etc/pure-ftpd/pureftpd-dir-aliases
    /usr/sbin/pure-ftpd-control
    /usr/sbin/pure-ftpd-wrapper
    /usr/share/doc/pure-ftpd-common/AUTHORS.gz /usr/share/doc/pure-ftpd-common/HISTORY /usr/share/doc/pure-ftpd-common/NEWS.Debian.gz /usr/share/doc/pure-ftpd-common/README.Authentication-Modules.gz /usr/share/doc/pure-ftpd-common/README.Configuration-File /usr/share/doc/pure-ftpd-common/README.Debian /usr/share/doc/pure-ftpd-common/README.Donations.gz /usr/share/doc/pure-ftpd-common/README.LDAP.gz /usr/share/doc/pure-ftpd-common/README.MySQL.gz /usr/share/doc/pure-ftpd-common/README.PGSQL.gz /usr/share/doc/pure-ftpd-common/README.TLS.gz /usr/share/doc/pure-ftpd-common/README.Virtual-Users.gz /usr/share/doc/pure-ftpd-common/README.gz /usr/share/doc/pure-ftpd-common/THANKS.gz /usr/share/doc/pure-ftpd-common/changelog.Debian.gz /usr/share/doc/pure-ftpd-common/changelog.gz /usr/share/doc/pure-ftpd-common/copyright /usr/share/doc/pure-ftpd-common/pureftpd.schema
    /usr/share/doc/pure-ftpd/FAQ.gz /usr/share/doc/pure-ftpd/README.Authentication-Modules.gz /usr/share/doc/pure-ftpd/README.Configuration-File /usr/share/doc/pure-ftpd/README.LDAP.gz
    /usr/share/doc/pure-ftpd/README.MacOS-X /usr/share/doc/pure-ftpd/README.MySQL.gz /usr/share/doc/pure-ftpd/README.PGSQL.gz
    /usr/share/doc/pure-ftpd/README.TLS.gz /usr/share/doc/pure-ftpd/README.Virtual-Users.gz /usr/share/doc/pure-ftpd/pure-ftpd.conf.gz /usr/share/doc/pure-ftpd/pureftpd-ldap.conf /usr/share/doc/pure-ftpd/pureftpd-mysql.conf /usr/share/doc/pure-ftpd/pureftpd-pgsql.conf /usr/share/doc/pure-ftpd/pureftpd.schema
    /usr/share/man/man8/pure-authd.8.gz
    /usr/share/man/man8/pure-certd.8.gz
    /usr/share/man/man8/pure-ftpd-control.8.gz /usr/share/man/man8/pure-ftpd-wrapper.8.gz
    /usr/share/man/man8/pure-ftpd.8.gz
    /usr/share/man/man8/pure-ftpwho.8.gz
    /usr/share/man/man8/pure-mrtginfo.8.gz
    /usr/share/man/man8/pure-pw.8.gz
    /usr/share/man/man8/pure-pwconvert.8.gz /usr/share/man/man8/pure-quotacheck.8.gz /usr/share/man/man8/pure-statsdecode.8.gz /usr/share/man/man8/pure-uploadscript.8.gz

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From hw@21:1/5 to Greg Wooledge on Thu Jul 10 07:50:01 2025
    On Wed, 2025-07-09 at 20:19 -0400, Greg Wooledge wrote:
    On Wed, Jul 09, 2025 at 23:08:05 +0200, hw wrote:
    where does pure-ftpd store files when anonymous logs in?

    Even its man page is missing in Debian.

    According to packages.debian.org, the package "pure-ftpd" depends on
    the package "pure-ftpd-common", and the latter has all the man pages:

    # apt-get install pure-ftpd-common
    [...]
    pure-ftpd-common is already the newest version (1.0.50-2.1).

    Oh, I should have tried 'man pure-ftpd' instead of 'man pure-ftp', I
    guess.

    According to the man page, it would use the home directory of the user
    'ftp'. But that user doesn't exist. A long time ago, Debian had a
    policy that packages must work out of the box, so why wasn't the user
    created? Has this policy been deprecated, or am I missing something?


    <https://packages.debian.org/bookworm/all/pure-ftpd-common/filelist> /etc/ftpallow
    /etc/logrotate.d/pure-ftpd-common
    /etc/pam.d/pure-ftpd
    /etc/pure-ftpd/auth/65unix
    /etc/pure-ftpd/auth/70pam
    /etc/pure-ftpd/conf/AltLog
    /etc/pure-ftpd/conf/FSCharset
    /etc/pure-ftpd/conf/MinUID
    /etc/pure-ftpd/conf/NoAnonymous
    /etc/pure-ftpd/conf/PAMAuthentication
    /etc/pure-ftpd/conf/PureDB
    /etc/pure-ftpd/conf/TLSCipherSuite
    /etc/pure-ftpd/conf/UnixAuthentication
    /etc/pure-ftpd/pure-ftpd.conf
    /etc/pure-ftpd/pureftpd-dir-aliases
    /usr/sbin/pure-ftpd-control
    /usr/sbin/pure-ftpd-wrapper
    /usr/share/doc/pure-ftpd-common/AUTHORS.gz /usr/share/doc/pure-ftpd-common/HISTORY /usr/share/doc/pure-ftpd-common/NEWS.Debian.gz /usr/share/doc/pure-ftpd-common/README.Authentication-Modules.gz /usr/share/doc/pure-ftpd-common/README.Configuration-File /usr/share/doc/pure-ftpd-common/README.Debian /usr/share/doc/pure-ftpd-common/README.Donations.gz /usr/share/doc/pure-ftpd-common/README.LDAP.gz /usr/share/doc/pure-ftpd-common/README.MySQL.gz /usr/share/doc/pure-ftpd-common/README.PGSQL.gz /usr/share/doc/pure-ftpd-common/README.TLS.gz /usr/share/doc/pure-ftpd-common/README.Virtual-Users.gz /usr/share/doc/pure-ftpd-common/README.gz /usr/share/doc/pure-ftpd-common/THANKS.gz /usr/share/doc/pure-ftpd-common/changelog.Debian.gz /usr/share/doc/pure-ftpd-common/changelog.gz /usr/share/doc/pure-ftpd-common/copyright /usr/share/doc/pure-ftpd-common/pureftpd.schema /usr/share/doc/pure-ftpd/FAQ.gz /usr/share/doc/pure-ftpd/README.Authentication-Modules.gz /usr/share/doc/pure-ftpd/README.Configuration-File /usr/share/doc/pure-ftpd/README.LDAP.gz /usr/share/doc/pure-ftpd/README.MacOS-X /usr/share/doc/pure-ftpd/README.MySQL.gz /usr/share/doc/pure-ftpd/README.PGSQL.gz /usr/share/doc/pure-ftpd/README.TLS.gz /usr/share/doc/pure-ftpd/README.Virtual-Users.gz /usr/share/doc/pure-ftpd/pure-ftpd.conf.gz /usr/share/doc/pure-ftpd/pureftpd-ldap.conf /usr/share/doc/pure-ftpd/pureftpd-mysql.conf /usr/share/doc/pure-ftpd/pureftpd-pgsql.conf /usr/share/doc/pure-ftpd/pureftpd.schema
    /usr/share/man/man8/pure-authd.8.gz
    /usr/share/man/man8/pure-certd.8.gz /usr/share/man/man8/pure-ftpd-control.8.gz /usr/share/man/man8/pure-ftpd-wrapper.8.gz
    /usr/share/man/man8/pure-ftpd.8.gz
    /usr/share/man/man8/pure-ftpwho.8.gz
    /usr/share/man/man8/pure-mrtginfo.8.gz
    /usr/share/man/man8/pure-pw.8.gz
    /usr/share/man/man8/pure-pwconvert.8.gz /usr/share/man/man8/pure-quotacheck.8.gz /usr/share/man/man8/pure-statsdecode.8.gz /usr/share/man/man8/pure-uploadscript.8.gz

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From hw@21:1/5 to All on Thu Jul 10 08:50:01 2025
    So I have created the ftp user with a home directory to use for files
    from the anonymous user. But still pure-ftpd is, contrary to the man
    page, asking for a password and the login fails.

    Why is this not working?

    And why is is so difficult and troublesome on Debian? It wasn't an
    issue at all on Fedora.


    On Thu, 2025-07-10 at 07:42 +0200, hw wrote:
    On Wed, 2025-07-09 at 20:19 -0400, Greg Wooledge wrote:
    On Wed, Jul 09, 2025 at 23:08:05 +0200, hw wrote:
    where does pure-ftpd store files when anonymous logs in?

    Even its man page is missing in Debian.

    According to packages.debian.org, the package "pure-ftpd" depends on
    the package "pure-ftpd-common", and the latter has all the man pages:

    # apt-get install pure-ftpd-common
    [...]
    pure-ftpd-common is already the newest version (1.0.50-2.1).

    Oh, I should have tried 'man pure-ftpd' instead of 'man pure-ftp', I
    guess.

    According to the man page, it would use the home directory of the user
    'ftp'. But that user doesn't exist. A long time ago, Debian had a
    policy that packages must work out of the box, so why wasn't the user created? Has this policy been deprecated, or am I missing something?


    <https://packages.debian.org/bookworm/all/pure-ftpd-common/filelist> /etc/ftpallow
    /etc/logrotate.d/pure-ftpd-common
    /etc/pam.d/pure-ftpd
    /etc/pure-ftpd/auth/65unix
    /etc/pure-ftpd/auth/70pam
    /etc/pure-ftpd/conf/AltLog
    /etc/pure-ftpd/conf/FSCharset
    /etc/pure-ftpd/conf/MinUID
    /etc/pure-ftpd/conf/NoAnonymous
    /etc/pure-ftpd/conf/PAMAuthentication
    /etc/pure-ftpd/conf/PureDB
    /etc/pure-ftpd/conf/TLSCipherSuite
    /etc/pure-ftpd/conf/UnixAuthentication
    /etc/pure-ftpd/pure-ftpd.conf
    /etc/pure-ftpd/pureftpd-dir-aliases
    /usr/sbin/pure-ftpd-control
    /usr/sbin/pure-ftpd-wrapper
    /usr/share/doc/pure-ftpd-common/AUTHORS.gz /usr/share/doc/pure-ftpd-common/HISTORY /usr/share/doc/pure-ftpd-common/NEWS.Debian.gz /usr/share/doc/pure-ftpd-common/README.Authentication-Modules.gz /usr/share/doc/pure-ftpd-common/README.Configuration-File /usr/share/doc/pure-ftpd-common/README.Debian /usr/share/doc/pure-ftpd-common/README.Donations.gz /usr/share/doc/pure-ftpd-common/README.LDAP.gz /usr/share/doc/pure-ftpd-common/README.MySQL.gz /usr/share/doc/pure-ftpd-common/README.PGSQL.gz /usr/share/doc/pure-ftpd-common/README.TLS.gz /usr/share/doc/pure-ftpd-common/README.Virtual-Users.gz /usr/share/doc/pure-ftpd-common/README.gz /usr/share/doc/pure-ftpd-common/THANKS.gz /usr/share/doc/pure-ftpd-common/changelog.Debian.gz /usr/share/doc/pure-ftpd-common/changelog.gz /usr/share/doc/pure-ftpd-common/copyright /usr/share/doc/pure-ftpd-common/pureftpd.schema /usr/share/doc/pure-ftpd/FAQ.gz /usr/share/doc/pure-ftpd/README.Authentication-Modules.gz /usr/share/doc/pure-ftpd/README.Configuration-File /usr/share/doc/pure-ftpd/README.LDAP.gz /usr/share/doc/pure-ftpd/README.MacOS-X /usr/share/doc/pure-ftpd/README.MySQL.gz /usr/share/doc/pure-ftpd/README.PGSQL.gz /usr/share/doc/pure-ftpd/README.TLS.gz /usr/share/doc/pure-ftpd/README.Virtual-Users.gz /usr/share/doc/pure-ftpd/pure-ftpd.conf.gz /usr/share/doc/pure-ftpd/pureftpd-ldap.conf /usr/share/doc/pure-ftpd/pureftpd-mysql.conf /usr/share/doc/pure-ftpd/pureftpd-pgsql.conf /usr/share/doc/pure-ftpd/pureftpd.schema /usr/share/man/man8/pure-authd.8.gz
    /usr/share/man/man8/pure-certd.8.gz /usr/share/man/man8/pure-ftpd-control.8.gz /usr/share/man/man8/pure-ftpd-wrapper.8.gz /usr/share/man/man8/pure-ftpd.8.gz
    /usr/share/man/man8/pure-ftpwho.8.gz
    /usr/share/man/man8/pure-mrtginfo.8.gz
    /usr/share/man/man8/pure-pw.8.gz
    /usr/share/man/man8/pure-pwconvert.8.gz /usr/share/man/man8/pure-quotacheck.8.gz /usr/share/man/man8/pure-statsdecode.8.gz /usr/share/man/man8/pure-uploadscript.8.gz

    --
    Bislang noch nicht verboten: Einigkeit und Recht und Freiheit fΓΌr das
    deutsche Vaterland!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jonathan Dowland@21:1/5 to All on Thu Jul 10 12:20:01 2025
    On Thu Jul 10, 2025 at 7:41 AM BST, hw wrote:
    And why is is so difficult and troublesome on Debian?

    Possibly because running an anonymous ftpd in 2025 is quite a niche
    interest.

    Some of the other recent replies look to point in the right direction.
    Last time I did this myself, I used vsftpd, and from memory it stored
    anonymous stuff somewhere under /var.

    It wasn't an issue at all on Fedora.

    How is it done on Fedora?

    --
    Please do not CC me for listmail.

    πŸ‘±πŸ» Jonathan Dowland
    ✎ jmtd@debian.org
    πŸ”— https://jmtd.net

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From hw@21:1/5 to Jeffrey Walton on Thu Jul 10 12:50:02 2025
    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?


    On Thu, 2025-07-10 at 05:23 -0400, Jeffrey Walton wrote:
    On Thu, Jul 10, 2025 at 4:49β€―AM hw <hw@adminart.net> wrote:

    On Wed, 2025-07-09 at 20:19 -0400, Greg Wooledge wrote:
    On Wed, Jul 09, 2025 at 23:08:05 +0200, hw wrote:
    where does pure-ftpd store files when anonymous logs in?

    Even its man page is missing in Debian.

    According to packages.debian.org, the package "pure-ftpd" depends on
    the package "pure-ftpd-common", and the latter has all the man pages:

    # apt-get install pure-ftpd-common
    [...]
    pure-ftpd-common is already the newest version (1.0.50-2.1).

    Oh, I should have tried 'man pure-ftpd' instead of 'man pure-ftp', I
    guess.

    According to the man page, it would use the home directory of the user 'ftp'. But that user doesn't exist. A long time ago, Debian had a
    policy that packages must work out of the box, so why wasn't the user created? Has this policy been deprecated, or am I missing something?

    Anonymous logins are not enabled by default (if I recall correctly).
    See the PureFTP FAQ at </usr/share/doc/pure-ftpd/FAQ.gz>. From the
    FAQ:

    <SNIP>
    * Anonymous FTP with virtual users.

    I successfully created a virtual user called 'ftp' or 'anonymous', but
    anonymous FTP doesn't work.

    Pure-FTPd never fetch any info from the virtual users backends (puredb, MySQL, LDAP, etc) for anonymous sessions. There are three reasons not to do so: - Speed: do we need to query a database just to get the anonymous
    user's home directory? We don't need to retrieve any password for anonymous sessions.
    - Consistency: with the virtual hosting mechanism.

    To run an anonymous FTP server you must have a *system* account called
    'ftp'. Don't give it any valid shell, just a home directory. That home directory is the anonymous area.
    </SNIP>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From tomas@tuxteam.de@21:1/5 to All on Thu Jul 10 13:00:02 2025
    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.

    Cheers
    --
    t

    -----BEGIN PGP SIGNATURE-----

    iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCaG+cFAAKCRAFyCz1etHa RoNNAJ9UYu3xrsm+Wx6ouuoIb4M9CdAbHQCfU0Oxuz2w/0XCrAPppkFjU0Z585A=
    =x+5w
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From tomas@tuxteam.de@21:1/5 to All on Thu Jul 10 14:00:01 2025
    On Thu, Jul 10, 2025 at 01:41:51PM +0200, hw wrote:
    On Thu, 2025-07-10 at 12:55 +0200, tomas@tuxteam.de wrote:

    [...]

    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

    Still interesting that it asks PAM...

    Cheers
    --
    t

    -----BEGIN PGP SIGNATURE-----

    iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCaG+piwAKCRAFyCz1etHa RvJLAJsHbjp2M5poPfjCW5wDowQJwYUtWwCfdomt4xZkzkuvuh3AEFnS4WKcKEY=
    =gnxz
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From hw@21:1/5 to tomas@tuxteam.de on Thu Jul 10 13:50:01 2025
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From hw@21:1/5 to tomas@tuxteam.de on Thu Jul 10 16:30:01 2025
    On Thu, 2025-07-10 at 13:52 +0200, tomas@tuxteam.de wrote:
    On Thu, Jul 10, 2025 at 01:41:51PM +0200, hw wrote:
    On Thu, 2025-07-10 at 12:55 +0200, tomas@tuxteam.de wrote:

    [...]

    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

    Still interesting that it asks PAM...

    So am I to assume that it's broken on Debian and set it up on a Fedora
    VM
    instead?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jonathan Dowland@21:1/5 to All on Thu Jul 10 17:30:02 2025
    On Thu Jul 10, 2025 at 11:45 AM BST, 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'.

    Conventionally, when logging into an anonymous ftp server, as a user, at
    least in my experience, you would provide your email address as the
    password. Try that? (Or a fake email?)


    --
    Please do not CC me for listmail.

    πŸ‘±πŸ» Jonathan Dowland
    ✎ jmtd@debian.org
    πŸ”— https://jmtd.net

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jonathan Dowland@21:1/5 to All on Thu Jul 10 17:50:01 2025
    On Thu Jul 10, 2025 at 3:25 PM BST, hw wrote:
    So am I to assume that it's broken on Debian

    The problem could be the presence of /etc/pure-ftpd/conf/NoAnonymous,
    which causes the start-up wrapper to pass -E (= --noanonymous) to the
    daemon. Try removing that file and restarting the daemon.

    I would consider the contradiction between
    /etc/pure-ftpd/conf/NoAnonymous and /etc/pure-ftpd/pure-ftpd.conf to be
    a package bug at the very least.

    --
    Please do not CC me for listmail.

    πŸ‘±πŸ» Jonathan Dowland
    ✎ jmtd@debian.org
    πŸ”— https://jmtd.net

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From hw@21:1/5 to Jonathan Dowland on Thu Jul 10 18:50:01 2025
    On Thu, 2025-07-10 at 16:46 +0100, Jonathan Dowland wrote:
    On Thu Jul 10, 2025 at 3:25 PM BST, hw wrote:
    So am I to assume that it's broken on Debian

    The problem could be the presence of /etc/pure-ftpd/conf/NoAnonymous,
    which causes the start-up wrapper to pass -E (= --noanonymous) to the daemon. Try removing that file and restarting the daemon.

    I would consider the contradiction between
    /etc/pure-ftpd/conf/NoAnonymous and /etc/pure-ftpd/pure-ftpd.conf to be
    a package bug at the very least.

    Ah, that could have been it.

    I purged it and set it up on a Fedora VM instead. It's not where I
    wanted it to run, but I can live with that. It's basically working out
    of the box.

    The Debian package doesn't seem to be managed well. It even still uses
    an init.d script instead of a service file.

    Debian keeps letting me down now every time. It's scary to see that it
    has gone that bad. I was hoping to put it on some servers, but I might
    have to go with Fedora instead.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From hw@21:1/5 to Jonathan Dowland on Thu Jul 10 19:00:02 2025
    On Thu, 2025-07-10 at 16:28 +0100, Jonathan Dowland wrote:
    On Thu Jul 10, 2025 at 11:45 AM BST, 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'.

    Conventionally, when logging into an anonymous ftp server, as a user, at least in my experience, you would provide your email address as the
    password. Try that? (Or a fake email?)

    Right again. Yet when you use filezilla with pure-ftpd running on
    Fedora, you can see that there is no password request showing up in the
    logging output in filezilla for anonymous logins. It's as the man page
    says.

    When running it on Debian, filezilla shows a password request for
    anonymous logins, and the login fails. This is not what the man page
    says. The ftp user doesn't have a password anyway. Apparently, Debians pure-ftpd version doesn't understand that it must not ask for a password
    for anonymous logins for unknown reasons.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles Curley@21:1/5 to hw@adminart.net on Thu Jul 10 19:40:02 2025
    On Thu, 10 Jul 2025 18:58:03 +0200
    hw <hw@adminart.net> wrote:

    When running it on Debian, filezilla shows a password request for
    anonymous logins, and the login fails. This is not what the man page
    says. The ftp user doesn't have a password anyway. Apparently,
    Debians pure-ftpd version doesn't understand that it must not ask for
    a password for anonymous logins for unknown reasons.

    I seem to recall that the anonymous was exactly that, anonymous. I.e.
    the server would let anyone log in. But that didn't mean no login,
    like a web page. It meant you logged in with the user name "anonymous"
    and any password you liked.

    Since the Internet was much smaller, more friendly, and more courteous,
    FTP site operators liked to know who there users were. So it became the
    custom to use your email address as your password, thus identifying
    yourself to your kindly hosts.

    --
    Does anybody read signatures any more?

    https://charlescurley.com
    https://charlescurley.com/blog/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From hw@21:1/5 to john doe on Fri Jul 11 13:00:01 2025
    On Thu, 2025-07-10 at 19:09 +0200, john doe wrote:
    On 7/10/25 18:58, hw wrote:
    On Thu, 2025-07-10 at 16:28 +0100, Jonathan Dowland wrote:
    On Thu Jul 10, 2025 at 11:45 AM BST, 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'.

    Conventionally, when logging into an anonymous ftp server, as a user, at least in my experience, you would provide your email address as the password. Try that? (Or a fake email?)

    Right again. Yet when you use filezilla with pure-ftpd running on
    Fedora, you can see that there is no password request showing up in the logging output in filezilla for anonymous logins. It's as the man page says.

    When running it on Debian, filezilla shows a password request for
    anonymous logins, and the login fails. This is not what the man page
    says. The ftp user doesn't have a password anyway. Apparently, Debians

    Look at the config on both distros and see what's different.

    I did :)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dan Purgert@21:1/5 to All on Fri Jul 11 13:30:01 2025
    On Jul 11, 2025, hw wrote:
    On Thu, 2025-07-10 at 13:55 -0400, Jeffrey Walton wrote:
    [...]
    Nowadays it seems like scp and sftp are the norm, not ftp.

    (S)FTP is still in use like for cameras, scanners (printers) and phones.
    For local usages I don't want to do all the hassle the certificates
    bring about unless it particularly makes sense to use encryption.

    What is "(S)FTP"? Do mean FTP with SSL?

    Ouch, just use SFTP (SSH); it's just easier.

    --
    |_|O|_|
    |_|_|O| Github: https://github.com/dpurgert
    |O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCgAdFiEE3asj+xn6fYUcweBnbWVw5UznKGAFAmhw87MACgkQbWVw5Uzn KGDJihAAhTj1GSZ1qG0pm0U4nskGXIYFxgM5jXGjDFnrUHXoAWs/h9HCZNbS3daQ /rlLscTWUUFYCz5xwSX7Q++4Wg+NLFQcM7nDEAjPxb+T5TSukFZGYbcCwhgs60sK 6PueFWhjA8Go7gjKzGy5jfHIiR60DHOoeV+IowTN423Ye45HtLYt6/y4OFTrvx2n ORAEB3//wGcT9lJJA70fpM7gnoKEJSb/3n8OJb1Hk9zJeNUkUZjvjdbpQyn9UGWv jRFd4G1PzrFwGXF9eCvS+yPx0diluTiF4sEXMKb6ih52SvJb2AZMsb52VQMnMxX1 qyGaHeMSys9Y2Z5TyNC0jKsEJPPpuSHMaPGWB4frQ4hG4QCq0HWXFxtGbae2sp44 33d87zvYOPqQOd7MEefuz6awXj5BqFdB0JBj7sXrBtDHRBd+zWR/gX01y9uuGwLd evy6k0gT/Il5DR8DRYL+ajEiJFy9JVrCakiwOoOgZEiH7VmdWkVF9Qg5Se6GdRYK qKngvNX1y4OyBGn5FPUgn3C16qN6ipN7h8GpstPrasQ49ctxdwoIDwc8/A8jTB6K oRVDDon30u1P8mz13msXEUgbA+97zZPNCoDJZ9OSGwbdfUJVORpOAJqFXKTdFWog 9NJUCmH0hRuMBpSOU+KC6ALFWuo319IgX6NpSpk7L855Q5MzRwI=
    =/qLK
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Us
  • From Nicolas George@21:1/5 to All on Fri Jul 11 13:50:01 2025
    hw (HE12025-07-11):
    (S)FTP is still in use like for cameras, scanners (printers) and phones.

    Do you have a few examples of brand and models of cameras and phones
    that use FTP?

    --
    Nicolas George

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From hw@21:1/5 to Jeffrey Walton on Fri Jul 11 13:20:01 2025
    On Thu, 2025-07-10 at 13:55 -0400, Jeffrey Walton wrote:
    On Thu, Jul 10, 2025 at 1:39β€―PM Charles Curley <charlescurley@charlescurley.com> wrote:

    On Thu, 10 Jul 2025 18:58:03 +0200
    hw <hw@adminart.net> wrote:

    When running it on Debian, filezilla shows a password request for anonymous logins, and the login fails. This is not what the man page says. The ftp user doesn't have a password anyway. Apparently,
    Debians pure-ftpd version doesn't understand that it must not ask for
    a password for anonymous logins for unknown reasons.

    I seem to recall that the anonymous was exactly that, anonymous. I.e.
    the server would let anyone log in. But that didn't mean no login,
    like a web page. It meant you logged in with the user name "anonymous"
    and any password you liked.

    Since the Internet was much smaller, more friendly, and more courteous,
    FTP site operators liked to know who there users were. So it became the custom to use your email address as your password, thus identifying yourself to your kindly hosts.

    Yeah, that's what I remember, too. Back when FTP was used.

    Nowadays it seems like scp and sftp are the norm, not ftp.

    (S)FTP is still in use like for cameras, scanners (printers) and phones.
    For local usages I don't want to do all the hassle the certificates
    bring
    about unless it particularly makes sense to use encryption.

    There isn't even a good alternative to (S)FTP when the devices aren't
    setting
    the limits but when you need the functionality.

    Scp isn't necessarily an alternative since you don't want to give
    everyone
    shell access. IIRC emacs supposedly prefers rsync instead of scp, but
    scp
    works too well to use rsync instead ...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jonathan Dowland@21:1/5 to All on Fri Jul 11 15:30:01 2025
    On Thu Jul 10, 2025 at 5:48 PM BST, hw wrote:
    The Debian package doesn't seem to be managed well. It even still
    uses an init.d script instead of a service file.

    Agreed. The last two versions of it were non-maintainer uploads; the
    last of those was 18 months ago; the last actual maintainer upload was
    in 2021. It's effectively unmaintained, and the situation might be
    improved if that was better recognised.

    I've just filed a bug requesting the package is formally orphaned, which should better signal its actual status within the project.

    Debian keeps letting me down now every time. It's scary to see that
    it has gone that bad. I was hoping to put it on some servers, but I
    might have to go with Fedora instead.

    There was a time that the mere fact of a piece of software was packaged
    in Debian would guarantee a certain level of quality. I think that time
    has unfortunately long since passed. This realisation hit me probably 15
    years ago, and has helped shape my thinking on packaging and what a "Distribution" in the present day should really be. (I might write a
    longer piece on that one day.)

    I can't speak for the quality of all Fedora packages. I suspect you will
    find similarly under-maintained packages there too. But if the relative quality level is much different, the interesting question to answer
    would be: Why?


    --
    Please do not CC me for listmail.

    πŸ‘±πŸ» Jonathan Dowland
    ✎ jmtd@debian.org
    πŸ”— https://jmtd.net

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)