a-password-mode |
NcFTPd general.cf file configuration Don't forget to restart NcFTPd after modifying the general.cf file. |
When an anonymous user logs in, they customarily use "anonymous" as the username, and their email address as the password. You can customize how NcFTPd handles the password part. The email address can be useful to the site administrator because it is logged, so you may be able to do some demographic analysis with it.
If you want to prompt the user for a password, but don't care what the password comes back as, set a-password-mode to any.
If you just want to check if the password they entered has an at-sign (@) in it, set a-password-mode to at-sign.
If you want to try and get the user to enter in a valid email address, (and not just some jibberish that has an @ in it), set a-password-mode to look-valid and the program will try to make sure it looks like a real address before letting them login.
If you want to prompt the user for a password, and want to require the user to login with a particular password, a-password-mode to exactly XXXXXXXX, where XXXXXXXX is replaced by the password you want to use.
Examples:
These days, web browsers use a standard dummy password.