summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/draksec
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-10-10 12:39:38 +0000
committerThierry Vignaud <tv@mandriva.org>2007-10-10 12:39:38 +0000
commit4928c291c630e9a9d10a5edb7e2feed42c6bc7a6 (patch)
tree99c247541db6d0af9562e6dff9ebbaad114948d0 /perl-install/standalone/draksec
parent454196e8eddfc9434421a27729d06f58211970c0 (diff)
downloaddrakx-4928c291c630e9a9d10a5edb7e2feed42c6bc7a6.tar
drakx-4928c291c630e9a9d10a5edb7e2feed42c6bc7a6.tar.gz
drakx-4928c291c630e9a9d10a5edb7e2feed42c6bc7a6.tar.bz2
drakx-4928c291c630e9a9d10a5edb7e2feed42c6bc7a6.tar.xz
drakx-4928c291c630e9a9d10a5edb7e2feed42c6bc7a6.zip
(set_auth_value) fix switching from "no_password" to "(root|user)_password" (#34490)
Diffstat (limited to 'perl-install/standalone/draksec')
-rwxr-xr-xperl-install/standalone/draksec2
1 files changed, 1 insertions, 1 deletions
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' ? '<user>' : 'root';
substInFile {
s/^USER=.*/USER=$value/;