summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-06-04 10:05:45 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-06-04 10:05:45 -0700
commit2eb541b4cc64ff0d14c57f550cf85a3f07f31b40 (patch)
tree69b7d44a20f7ec8e99d4a53cac4edfd464538043
parentb25e631dcc357f16d05fb2ac4f1570d7e86ec0ef (diff)
downloadquagga-2eb541b4cc64ff0d14c57f550cf85a3f07f31b40.tar.bz2
quagga-2eb541b4cc64ff0d14c57f550cf85a3f07f31b40.tar.xz
Fix vtysh authorization
The PAM system is asking for quagga (not vyatta-quagga) so need to change the name of the pam file. Make sure file is setup to allow users in quaggavty group to access vtysh without password.
-rw-r--r--debian/quagga.pam5
-rw-r--r--debian/vyatta-quagga.pam6
2 files changed, 5 insertions, 6 deletions
diff --git a/debian/quagga.pam b/debian/quagga.pam
new file mode 100644
index 00000000..6dd5d474
--- /dev/null
+++ b/debian/quagga.pam
@@ -0,0 +1,5 @@
+# This allows root to do vtysh without passwords
+auth sufficient pam_rootok.so
+
+# Only users in group quaggavty can run vtysh
+auth required pam_wheel.so trust group=quaggavty
diff --git a/debian/vyatta-quagga.pam b/debian/vyatta-quagga.pam
deleted file mode 100644
index 0da44ecb..00000000
--- a/debian/vyatta-quagga.pam
+++ /dev/null
@@ -1,6 +0,0 @@
-# This allows root to do vtysh without passwords
-auth sufficient pam_rootok.so
-
-# Any user may call vtysh but only those belonging to the group quaggavty can
-# actually connect to the socket and use the program.
-auth sufficient pam_wheel.so quaggavty