summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-05-24 10:10:35 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-05-24 10:44:05 -0700
commitf37b24ae59372da6361b4acf9755270061bdc857 (patch)
treedd40dadf9fa1d59a650b63fb8c406aa363dd0105 /scripts
parenta056148b106c7c5e175833b3ef2525034107261a (diff)
downloadvyatta-cfg-quagga-f37b24ae59372da6361b4acf9755270061bdc857.tar.gz
vyatta-cfg-quagga-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-xscripts/rl-system.init4
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