From 6e9e39a91cfe774862b5c69723ff5e4683a54384 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Lefebvre?= Date: Tue, 18 Aug 2009 09:33:10 +0000 Subject: adduserdrake: added weakness check for root password --- perl-install/NEWS | 3 +++ perl-install/any.pm | 2 +- perl-install/install/NEWS | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/NEWS b/perl-install/NEWS index e461ad6af..817d5c862 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,6 @@ +- adduserdrake + o added weakness check for root password + Version 12.45 - 18 August 2009 - drakbug diff --git a/perl-install/any.pm b/perl-install/any.pm index 70a112ec3..2c5d46f94 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -826,7 +826,7 @@ sub ask_user_and_root { }, [ $superuser ? ( { label => N("Set administrator (root) password"), title => 1 }, - { label => N("Password"), val => \$superuser->{password}, hidden => 1, alignment => 'right', + { label => N("Password"), val => \$superuser->{password}, hidden => 1, alignment => 'right', weakness_check => 1, validate => sub { authentication::check_given_password($in, $superuser, 2 * $security) } }, { label => N("Password (again)"), val => \$superuser->{password2}, hidden => 1, alignment => 'right' }, ) : (), diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 55b6ed42b..29918abe8 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,6 @@ +- adduserdrake + o added weakness check for root password + Version 12.45 - 18 August 2009 - added the ability to add up/down buttons in add_modify_remove list -- cgit v1.2.1