summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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