summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2005-03-20 18:09:43 +0000
committerAlin Năstac <mrness@gentoo.org>2005-03-20 18:09:43 +0000
commit31e035dbd34044d0bbdb266143d0f734edfbcd22 (patch)
tree8a253f8792dc0372cad97dd13090294b979e1d5b /net-misc/quagga/files/quagga.pam
parentStable on alpha. (diff)
downloadhistorical-31e035dbd34044d0bbdb266143d0f734edfbcd22.tar.gz
historical-31e035dbd34044d0bbdb266143d0f734edfbcd22.tar.bz2
historical-31e035dbd34044d0bbdb266143d0f734edfbcd22.zip
fixed bugs #69900, #70457, #80633, #80636, #80697, #81095 and #83009
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'net-misc/quagga/files/quagga.pam')
-rw-r--r--net-misc/quagga/files/quagga.pam26
1 files changed, 26 insertions, 0 deletions
diff --git a/net-misc/quagga/files/quagga.pam b/net-misc/quagga/files/quagga.pam
new file mode 100644
index 000000000000..486d45df9975
--- /dev/null
+++ b/net-misc/quagga/files/quagga.pam
@@ -0,0 +1,26 @@
+#%PAM-1.0
+#
+
+##### if running quagga as root:
+# Only allow root (and possibly wheel) to use this because enable access
+# is unrestricted.
+auth sufficient /lib/security/pam_rootok.so
+
+# Uncomment the following line to implicitly trust users in the "wheel" group.
+#auth sufficient /lib/security/pam_wheel.so trust use_uid
+# Uncomment the following line to require a user to be in the "wheel" group.
+#auth required /lib/security/pam_wheel.so use_uid
+###########################################################
+
+# If using quagga privileges and with a seperate group for vty access, then
+# access can be controlled via the vty access group, and pam can simply
+# check for valid user/password, eg:
+#
+# only allow local users.
+#auth required /lib/security/pam_securetty.so
+#auth required /lib/security/pam_stack.so service=system-auth
+#auth required /lib/security/pam_nologin.so
+#account required /lib/security/pam_stack.so service=system-auth
+#password required /lib/security/pam_stack.so service=system-auth
+#session required /lib/security/pam_stack.so service=system-auth
+#session optional /lib/security/pam_console.so