ftpd provides the -n option to disable anonymous FTP access, meaning the username 'ftp' cannot log in to the FTP server without a password stored in the password database. This feature helps prevent users who lack the background knowledge of how this special username 'ftp' conventionally works in FTP from mistakenly creating an account with the username 'ftp,' assuming it behaves like other usernames that require a password to log in to the FTP server, which it does not.
Details
Details
- Reviewers
des
Test steps:
- Create an "ftp" username account.
- Start ftpd with the -n option.
- Make sure the username 'ftp' can only log in when the password stored in the database is provided.
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 61125 Build 58009: arc lint + arc unit