[DragonFlyBSD - Bug #3027] installer: password do not allow special characters

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Tue Jun 18 18:49:39 PDT 2019


Issue #3027 has been updated by liweitianux.

Category changed from Other to installer
Priority changed from High to Normal

Related issue: #2316

----------------------------------------
Bug #3027: installer: password do not allow special characters
http://bugs.dragonflybsd.org/issues/3027#change-13717

* Author: liweitianux
* Status: New
* Priority: Normal
* Assignee: 
* Category: installer
* Target version: 
----------------------------------------
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--------------------------------
dfly_4.8_password.png (7.08 KB)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list