summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-11-02 17:18:27 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-11-02 17:18:27 -0800
commit403bb750a20b84800fbbd4d18156b11840b65ee4 (patch)
tree17fd586c4a920e45ef01e5e45b37a99f5d220bf7
parent6ddbdaeb4557c04e6ad5c86f7ced922685634851 (diff)
downloadvyatta-cfg-quagga-403bb750a20b84800fbbd4d18156b11840b65ee4.tar.gz
vyatta-cfg-quagga-403bb750a20b84800fbbd4d18156b11840b65ee4.zip
rename pam-radius to pam_radius.cfg
Use a reasonable suffix for file type
-rw-r--r--Makefile.am2
-rw-r--r--debian/vyatta-cfg-system.postinst.in2
-rw-r--r--sysconf/pam_radius.cfg (renamed from sysconf/pam-radius)4
3 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index 29619127..99142777 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -70,7 +70,7 @@ sysconf_DATA += sysconf/securetty
sysconf_DATA += sysconf/vyatta-sysctl.conf
sysconf_DATA += sysconf/blacklist.DSA-1024
sysconf_DATA += sysconf/blacklist.RSA-2048
-sysconf_DATA += sysconf/pam-radius
+sysconf_DATA += sysconf/pam_radius.cfg
libudev_SCRIPTS = scripts/vyatta_net_name
etcudev_DATA = sysconf/vyatta-net.rules
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index 95fcd1ca..3a914f7f 100644
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -149,7 +149,7 @@ update-rc.d -f ssh remove >/dev/null
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
+cp $sysconfdir/pam_radius.cfg /usr/share/pam-configs/radius
[ grep "blacklist.*snd-pcsp" >&/dev/null ] || echo "blacklist snd-pcsp" >>/etc/modprobe.d/blacklist
diff --git a/sysconf/pam-radius b/sysconf/pam_radius.cfg
index 0409dd44..3b9d92fc 100644
--- a/sysconf/pam-radius
+++ b/sysconf/pam_radius.cfg
@@ -1,5 +1,5 @@
-Name: Radius authentication
-Default: no
+Name: Radius client
+Default: yes
Priority: 512
Auth-Type: Primary
Auth: