diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-05-24 10:10:35 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-05-24 10:44:05 -0700 |
commit | f37b24ae59372da6361b4acf9755270061bdc857 (patch) | |
tree | dd40dadf9fa1d59a650b63fb8c406aa363dd0105 /scripts | |
parent | a056148b106c7c5e175833b3ef2525034107261a (diff) | |
download | vyatta-cfg-system-f37b24ae59372da6361b4acf9755270061bdc857.tar.gz vyatta-cfg-system-f37b24ae59372da6361b4acf9755270061bdc857.zip |
Don't enable PAM Radius by default
The pam-config mechanism will insert Radius pam module if it is
in /usr/share/pam-configs. Therefore hold off installing file until
Radius really needed.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/rl-system.init | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/rl-system.init b/scripts/rl-system.init index e7eaed14..ca51166a 100755 --- a/scripts/rl-system.init +++ b/scripts/rl-system.init @@ -173,7 +173,9 @@ security_reset () { # restore PAM back to virgin state (no radius other services) rm -f /etc/pam_radius_auth.conf if grep -q radius /etc/pam.d/common-auth - then pam-auth-update --remove radius + then + pam-auth-update --package --remove radius + rm /usr/share/pam-configs/radius fi # Disable root login with ssh |