From e0a296b42b098573d77109c9fb2dd1a68499ab2d Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 10 Oct 2007 12:42:08 +0000 Subject: (set_auth_value) fix switching from "no_password" to "(root|user)_password" (#34490) --- perl-install/NEWS | 3 +++ perl-install/standalone/draksec | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index 1129712df..f801a1f61 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,6 @@ +- draksec: + o fix switching from "no_password" to "_password" (#34490) + Version 10.4.239 - 5 October 2007, by Thierry Vignaud - finish-install: fix release notes window size diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec index 3e9f09d72..38ba2c02f 100755 --- a/perl-install/standalone/draksec +++ b/perl-install/standalone/draksec @@ -301,7 +301,7 @@ sub set_auth_value { if ($auth eq 'no_passwd') { symlinkf('../../etc/pam.d/mandriva-console-auth', "/etc/pam.d/$prog"); } else { - symlink('../../etc/pam.d/mandriva-simple-auth', "/etc/pam.d/$prog"); + symlinkf('../../etc/pam.d/mandriva-simple-auth', "/etc/pam.d/$prog"); my $value = $auth eq 'user_passwd' ? '' : 'root'; substInFile { s/^USER=.*/USER=$value/; -- cgit v1.2.1