Bug #3027
closedinstaller: password do not allow special characters
100%
Description
Yesterday I tried install DFly (4.8.0-release) within VirtualBox, and found that the installer do NOT allow special characters (":;,`~!@#$%^&*()+={}[]\\|/?<>'\" ") in the password field. See also the attached screenshots.
On the other hand, I can set password with special characters using the "passwd" command after installation. In addition, the installer allow special characters in the passphrase for disk encryption.
The corresponding source code is "usr.sbin/installer/dfuibe_installer/fn_configure.c" line 85:
#define PW_NOT_ALLOWED ":;,`~!@#$%^&*()+={}[]\\|/?<>'\" "
Why place such a constrain on the user/root password?
Files
Updated by liweitianux over 5 years ago
- Category changed from Other to installer
- Priority changed from High to Normal
Related issue: #2316
Updated by piecuch over 4 years ago
- File 0001-Installer-allow-special-characters-in-passwords.patch added
- Status changed from New to Feedback
- Target version set to 13
Fixed. Please see my patch.
Updated by piecuch over 4 years ago
- File deleted (
0001-Installer-allow-special-characters-in-passwords.patch)
Updated by piecuch over 4 years ago
Updated by liweitianux over 4 years ago
- Status changed from Feedback to Closed
- % Done changed from 0 to 100
I committed a fix based on your patch in df29799be511167585aaaa3250904e87e4b54c4c. Thank you very much.