/[smeserver]/rpms/e-smith-base/sme7/e-smith-base-4.18.0-consoleValidateFirst.patch
ViewVC logotype

Annotation of /rpms/e-smith-base/sme7/e-smith-base-4.18.0-consoleValidateFirst.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Wed Jan 9 22:23:26 2008 UTC (16 years, 5 months ago) by bytegw
Branch: MAIN
CVS Tags: e-smith-base-4_18_0-101_el4_sme, e-smith-base-4_18_0-102_el4_sme, e-smith-base-4_18_0-98_el4_sme, e-smith-base-4_18_0-100_el4_sme, e-smith-base-4_18_0-90_el4_sme, e-smith-base-4_18_0-92_el4_sme, e-smith-base-4_18_0-99_el4_sme, e-smith-base-4_18_0-103_el4_sme, e-smith-base-4_18_0-89_el4_sme, e-smith-base-4_18_0-87_el4_sme, e-smith-base-4_18_0-104_el4_sme, e-smith-base-4_18_0-94_el4_sme, e-smith-base-4_18_0-88_el4_sme
Updates

1 bytegw 1.1 diff -Nur -x '*.orig' -x '*.rej' e-smith-base-4.18.0/root/usr/lib/perl5/site_perl/esmith/console/system_password.pm mezzanine_patched_e-smith-base-4.18.0/root/usr/lib/perl5/site_perl/esmith/console/system_password.pm
2     --- e-smith-base-4.18.0/root/usr/lib/perl5/site_perl/esmith/console/system_password.pm 2008-01-09 17:32:33.000000000 +1100
3     +++ mezzanine_patched_e-smith-base-4.18.0/root/usr/lib/perl5/site_perl/esmith/console/system_password.pm 2008-01-09 17:32:18.000000000 +1100
4     @@ -60,35 +60,6 @@
5     goto INITIAL_PASSWORD;
6     }
7    
8     -
9     - ($rc, $choice2) = $console->password_page
10     - (
11     - title => gettext("Choose administrator password"),
12     - text => gettext("Please type your administrator password again to verify."),
13     - );
14     -
15     - unless ($rc == 0)
16     - {
17     - ($rc, $choice) = $console->message_page
18     - (
19     - title => gettext("Administrator password not set"),
20     - text => gettext("Sorry, you must set the administrator password now."),
21     - );
22     -
23     - goto INITIAL_PASSWORD;
24     - }
25     -
26     - if ($choice1 ne $choice2)
27     - {
28     - ($rc, $choice) = $console->message_page
29     - (
30     - title => gettext("Passwords do not match"),
31     - text => gettext("The two passwords did not match"),
32     - );
33     -
34     - goto INITIAL_PASSWORD;
35     - }
36     -
37     use Crypt::Cracklib;
38    
39     #--------------------------------------------------------
40     @@ -133,6 +104,34 @@
41     goto INITIAL_PASSWORD if ($rc == 0);
42     }
43    
44     + ($rc, $choice2) = $console->password_page
45     + (
46     + title => gettext("Choose administrator password"),
47     + text => gettext("Please type your administrator password again to verify."),
48     + );
49     +
50     + unless ($rc == 0)
51     + {
52     + ($rc, $choice) = $console->message_page
53     + (
54     + title => gettext("Administrator password not set"),
55     + text => gettext("Sorry, you must set the administrator password now."),
56     + );
57     +
58     + goto INITIAL_PASSWORD;
59     + }
60     +
61     + if ($choice1 ne $choice2)
62     + {
63     + ($rc, $choice) = $console->message_page
64     + (
65     + title => gettext("Passwords do not match"),
66     + text => gettext("The two passwords did not match"),
67     + );
68     +
69     + goto INITIAL_PASSWORD;
70     + }
71     +
72     #--------------------------------------------------
73     # Set system password
74     #--------------------------------------------------

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed