aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/quagga/files/quagga.pam
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2013-11-08 11:30:18 +0800
committerJoe MacDonald <joe@deserted.net>2013-11-26 11:14:31 -0500
commitec152778cd6cc670991445d02e35685e6e3404ed (patch)
tree99c6abd235d1e40b82c39fa6f240ef38ffbde954 /meta-networking/recipes-protocols/quagga/files/quagga.pam
parent98367f46aab5401e4bc2daf318c9bb9110af463b (diff)
downloadmeta-openembedded-contrib-ec152778cd6cc670991445d02e35685e6e3404ed.tar.gz
quagga: add pam support for vtysh
According to DISTRO_FEATURES to add pam support for quagga, and import configure file from Fedora. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'meta-networking/recipes-protocols/quagga/files/quagga.pam')
-rw-r--r--meta-networking/recipes-protocols/quagga/files/quagga.pam13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/quagga/files/quagga.pam b/meta-networking/recipes-protocols/quagga/files/quagga.pam
new file mode 100644
index 0000000000..3541a975ae
--- /dev/null
+++ b/meta-networking/recipes-protocols/quagga/files/quagga.pam
@@ -0,0 +1,13 @@
+#
+# The PAM configuration file for the quagga `vtysh' service
+#
+
+# This allows root to change user infomation without being
+# prompted for a password
+auth sufficient pam_rootok.so
+
+# The standard Unix authentication modules, used with
+# NIS (man nsswitch) as well as normal /etc/passwd and
+# /etc/shadow entries.
+auth include common-auth
+