summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-06-12 18:38:40 +0000
committerOlivier Blin <oblin@mandriva.com>2008-06-12 18:38:40 +0000
commitd3087a4a6fc47de6f0e3a14794774c5a355961b2 (patch)
treeb1b49350fb603ded92d4119eb3a1af76e466b3af /perl-install
parent98a62c6746cfcaaa36b81035056fabc72aa74d23 (diff)
downloaddrakx-backup-do-not-use-d3087a4a6fc47de6f0e3a14794774c5a355961b2.tar
drakx-backup-do-not-use-d3087a4a6fc47de6f0e3a14794774c5a355961b2.tar.gz
drakx-backup-do-not-use-d3087a4a6fc47de6f0e3a14794774c5a355961b2.tar.bz2
drakx-backup-do-not-use-d3087a4a6fc47de6f0e3a14794774c5a355961b2.tar.xz
drakx-backup-do-not-use-d3087a4a6fc47de6f0e3a14794774c5a355961b2.zip
fix authentication configuration during install
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/authentication.pm2
-rw-r--r--perl-install/install/NEWS2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/authentication.pm b/perl-install/authentication.pm
index 823eb7682..cdffd02ea 100644
--- a/perl-install/authentication.pm
+++ b/perl-install/authentication.pm
@@ -2,7 +2,6 @@ package authentication; # $Id$
use common;
my $ccreds = 1;
-my $conf_file = "/etc/sysconfig/drakauth";
$::real_windowwidth = 700;
$::real_windowheight = 600;
@@ -302,6 +301,7 @@ sub set {
sub set_raw {
my ($net, $authentication, $o_when_network_is_up) = @_;
+ my $conf_file = "$::prefix/etc/sysconfig/drakauth";
my $when_network_is_up = $o_when_network_is_up || sub { my ($f) = @_; $f->() };
enable_shadow() if $authentication->{shadow};
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 139f29a66..1159b4976 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- fix authentication configuration
+
Version 10.35 - 12 June 2008
- adapt to xserver/SecurityPolicy being in /usr