diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-10-10 12:42:08 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-10-10 12:42:08 +0000 |
commit | e0a296b42b098573d77109c9fb2dd1a68499ab2d (patch) | |
tree | e12c6965389e23f4ac1c26d50c23b6b92986f823 /perl-install/standalone | |
parent | 2a0cbb6aad80cf9bf1063c14fd4570688b98280b (diff) | |
download | drakx-e0a296b42b098573d77109c9fb2dd1a68499ab2d.tar drakx-e0a296b42b098573d77109c9fb2dd1a68499ab2d.tar.gz drakx-e0a296b42b098573d77109c9fb2dd1a68499ab2d.tar.bz2 drakx-e0a296b42b098573d77109c9fb2dd1a68499ab2d.tar.xz drakx-e0a296b42b098573d77109c9fb2dd1a68499ab2d.zip |
(set_auth_value) fix switching from "no_password" to "(root|user)_password" (#34490)
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/draksec | 2 |
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/; |