diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-01-30 08:30:15 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-01-30 08:30:15 +0000 |
commit | da6309e24dc0ab514e91ce52de85629c169b2a44 (patch) | |
tree | 63addbb91a225caae262b263ed658ecd0faadb94 /perl-install | |
parent | 7f148ac01d8d28925a97b461c64ba9074b4ce845 (diff) | |
download | drakx-da6309e24dc0ab514e91ce52de85629c169b2a44.tar drakx-da6309e24dc0ab514e91ce52de85629c169b2a44.tar.gz drakx-da6309e24dc0ab514e91ce52de85629c169b2a44.tar.bz2 drakx-da6309e24dc0ab514e91ce52de85629c169b2a44.tar.xz drakx-da6309e24dc0ab514e91ce52de85629c169b2a44.zip |
force creation of a non-root user on standard security level
(esp. since kdm doesn't permit root login anymore by default)
(thanks to Neoclust)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/any.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index 04c176464..d1abe1456 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -643,7 +643,7 @@ sub ask_user_one { }, complete => sub { $u->{name} ? &$verif : 0 }, canceled => $verif, - ok_disabled => sub { $security >= 4 && !@$users || $options{needauser} && !$u->{name} }, + ok_disabled => sub { $security >= 3 && !@$users || $options{needauser} && !$u->{name} }, } }, [ { label => N("Real name"), val => \$u->{realname} }, { label => N("Login name"), val => \$u->{name} }, |