summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone')
-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/;