लगता है, एक खाली पासवर्ड कूटशब्द जटिलता आवश्यकताओं से मेल नहीं खाता है।
मुझे यही मिला है man passwd
As a general guideline, passwords should consist of 6 to 8 characters including one or
more characters from each of the following sets:
· lower case alphabetics
· digits 0 thru 9
· punctuation marks
Care must be taken not to include the system default erase or kill characters. passwd will reject any password which is not
suitably complex.
संपादित करें: दुर्भाग्य से, आप उस UI के माध्यम से पासवर्ड को खाली नहीं कर सकते।
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/quantal/gnome-control-center/quantal-proposed/view/head:/panels/user-accounts/um-password-dialog.c#L358
वह फ़ंक्शन है जो "चेंज" बटन को सक्षम करने का निर्णय लेता है या नहीं।
if (strlen (password) < MIN_PASSWORD_LEN) {
can_change = FALSE;
if (password[0] == '\0') {
tooltip = _("You need to enter a new password");
}
else {
tooltip = _("The new password is too short");
}
}
else if (strcmp (password, verify) != 0) {
can_change = FALSE;
if (verify[0] == '\0') {
tooltip = _("You need to confirm the password");
}
else {
tooltip = _("The passwords do not match");
}
}
else if (!um->old_password_ok) {
can_change = FALSE;
if (old_password[0] == '\0') {
tooltip = _("You need to enter your current password");
}
else {
tooltip = _("The current password is not correct");
}
}
else {
can_change = TRUE;
tooltip = NULL;
}
gtk_widget_set_sensitive (um->ok_button, can_change);
न्यूनतम पासवर्ड लेन 6 हार्डकोड है :(
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/quantal/gnome-control-center/quantal-proposed/view/head:/panels/user-accounts/um-password-dialog.c#L39
#define MIN_PASSWORD_LEN 6
pkexec
, पूछें