summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg-system.postinst.in
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-10-27 16:33:53 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-10-27 18:52:28 -0700
commitc59ee6a1997c03729af1b677a07d786bc44f5e9f (patch)
treef050ab01d63dbaf6a88f6595b6d4b84bb26bf735 /debian/vyatta-cfg-system.postinst.in
parent5d2999ffb3a93966091c095cc85446ec62834c0f (diff)
downloadvyatta-cfg-system-c59ee6a1997c03729af1b677a07d786bc44f5e9f.tar.gz
vyatta-cfg-system-c59ee6a1997c03729af1b677a07d786bc44f5e9f.zip
Use pam-auth-update to configure radius
This keeps radius from fighting with tacacs+
Diffstat (limited to 'debian/vyatta-cfg-system.postinst.in')
-rw-r--r--debian/vyatta-cfg-system.postinst.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index 1a9f0bd5..730815f6 100644
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -115,6 +115,7 @@ EOF
cp $sysconfdir/$f /etc/$f
fi
done
+
fi
# update crontab for logrotate
@@ -124,6 +125,7 @@ rm /etc/crontab
mv /etc/crontab.$$ /etc/crontab
crontab /etc/crontab
+
# create needed directories
mkdir -p /var/log/user
@@ -144,6 +146,9 @@ update-rc.d -f ssh remove >/dev/null
# for password
sed -i 's/requisite[ \t][ \t]*pam_securetty.so/required pam_securetty.so/' $rootfsdir/etc/pam.d/login
+# Install pamradius config (should come with radius client eventually)
+cp $sysconfdir/pam-radius /usr/share/pam-configs/radius
+
[ grep "blacklist.*snd-pcsp" >&/dev/null ] || echo "blacklist snd-pcsp" >>/etc/modprobe.d/blacklist
#